t5550: simplify no matching line check
commit5a828bcf1e1a3152f31c90bcf6557ba8d7b0459f
authorDenton Liu <liu.denton@gmail.com>
Thu, 26 Mar 2020 08:27:51 +0000 (26 04:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Mar 2020 17:56:40 +0000 (27 10:56 -0700)
treed63d58bac856326b124d2d1726605639e8ecb93d
parentef343f41239f63ac20ebe7909756c7d57c5416dd
t5550: simplify no matching line check

In the 'did not use upload-pack service' test, we have a complicated
song-and-dance to ensure that there are no "/git-upload-pack" lines in
"$HTTPD_ROOT_PATH/access.log". Simplify this by just checking that grep
returns a non-zero exit code.

Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5550-http-fetch-dumb.sh