From: René Scharfe Date: Sat, 21 Nov 2015 02:30:09 GMT Subject: Re: [PATCH 4/2] test: use test_must_contain Message-ID: <564FD731.6070804@web.de> In-Reply-To: <1448068603-2112-1-git-send-email-szeder@ira.uka.de> Am 21.11.2015 um 02:16 schrieb SZEDER Gábor: > Hi, > >> diff --git a/t/t9810-git-p4-rcs.sh b/t/t9810-git-p4-rcs.sh >> index 8134ab4..e02b490 100755 >> --- a/t/t9810-git-p4-rcs.sh >> +++ b/t/t9810-git-p4-rcs.sh >> @@ -294,8 +294,7 @@ test_expect_success 'cope with rcs keyword file deletion' ' >> echo "\$Revision\$" >kwdelfile.c && >> p4 add -t ktext kwdelfile.c && >> p4 submit -d "Add file to be deleted" && >> - cat kwdelfile.c && >> - grep 1 kwdelfile.c >> + test_must_constain 1 kwdelfile.c > > s/constain/contain/ > Thank you! I need to work on my vi fu.. Or install all optional tools to be able to run the full test suite. ;) René