don't use test_must_fail with grep
authorPranit Bauva <pranit.bauva@gmail.com>
Tue, 3 Jan 2017 19:57:07 +0000 (01:27 +0530)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Jan 2017 21:20:01 +0000 (13:20 -0800)
test_must_fail should only be used for testing git commands. To test the
failure of other commands use `!`.

Reported-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found