From patchwork Tue Nov 26 21:50:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 11263105 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7BE5F13A4 for ; Tue, 26 Nov 2019 21:50:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6357620678 for ; Tue, 26 Nov 2019 21:50:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726987AbfKZVu5 (ORCPT ); Tue, 26 Nov 2019 16:50:57 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:49587 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbfKZVu5 (ORCPT ); Tue, 26 Nov 2019 16:50:57 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47MyJY6Dczz1qqkp; Tue, 26 Nov 2019 22:50:53 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47MyJY3vSKz1qql2; Tue, 26 Nov 2019 22:50:53 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id kbXd7FIQN-m0; Tue, 26 Nov 2019 22:50:52 +0100 (CET) X-Auth-Info: yrPTK5vu2MvYkqjREcNpl6qCWdgvcR7TEI5r0GsDEeEV3Na9BNie2rN+LFM2Qr+q Received: from igel.home (ppp-46-244-161-164.dynamic.mnet-online.de [46.244.161.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 26 Nov 2019 22:50:52 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id B0ECF2C01AC; Tue, 26 Nov 2019 22:50:51 +0100 (CET) From: Andreas Schwab To: =?utf-8?b?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Cc: git@vger.kernel.org, Junio C Hamano , Carlo Marcelo Arenas =?utf-8?b?QmVsw7Nu?= , Beat Bolli , Johannes Schindelin Subject: [PATCH] t7812: add missing redirects References: <20190724151415.3698-1-avarab@gmail.com> <20190726150818.6373-7-avarab@gmail.com> X-Yow: Wow! Look!! A stray meatball!! Let's interview it! Date: Tue, 26 Nov 2019 22:50:51 +0100 In-Reply-To: <20190726150818.6373-7-avarab@gmail.com> (=?utf-8?b?IsOGdmFy?= =?utf-8?b?IEFybmZqw7Zyw7A=?= Bjarmason"'s message of "Fri, 26 Jul 2019 17:08:16 +0200") Message-ID: <87blsyl32c.fsf_-_@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Two tests in t7812 were missing redirects, failing to actually test the produced output. Fixes: 8a5999838e ("grep: stess test PCRE v2 on invalid UTF-8 data") Signed-off-by: Andreas Schwab --- t/t7812-grep-icase-non-ascii.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t7812-grep-icase-non-ascii.sh b/t/t7812-grep-icase-non-ascii.sh index 531eb59d57..c4528432e5 100755 --- a/t/t7812-grep-icase-non-ascii.sh +++ b/t/t7812-grep-icase-non-ascii.sh @@ -70,14 +70,14 @@ test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep ASCII from invalid UT test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep non-ASCII from invalid UTF-8 data' ' git grep -h "æ" invalid-0x80 >actual && test_cmp expected actual && - git grep -h "(*NO_JIT)æ" invalid-0x80 && + git grep -h "(*NO_JIT)æ" invalid-0x80 >actual && test_cmp expected actual ' test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep non-ASCII from invalid UTF-8 data with -i' ' test_might_fail git grep -hi "Æ" invalid-0x80 >actual && test_cmp expected actual && - test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 && + test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 >actual && test_cmp expected actual '