Re: [PATCH 4/2] test: use test_must_contain
- From
René Scharfe <l.s.r@web.de>
- Date
- Nov 21, 2015, 02:30 UTC
- 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:
Show 16 quoted lines
> 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é