Re: [PATCH 4/2] test: use test_must_contain

2015-11-20 Thread René Scharfe
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

Re: [PATCH 4/2] test: use test_must_contain

2015-11-20 Thread 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 && >

[PATCH 4/2] test: use test_must_contain

2015-11-20 Thread René Scharfe
Some tests print a file using cat and then grep it for some pattern. This is done to aid debugging in case the pattern is unexpectedly not found; the file contents can easily inspected by running the test with the option --verbose. Replace these combinations by calls of test_must_contain. It only