diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-01-26 11:40:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-26 11:40:09 -0800 |
commit | e7d7a56796c457b0a96e58e7638950db824b52af (patch) | |
tree | 891c2c9d425ab9e6c2833ba8afdeb9d876c8c3d8 /contrib | |
parent | 3558f32f1f5fdb3d566e39f6e07cd3f97d124da6 (diff) | |
download | git-e7d7a56796c457b0a96e58e7638950db824b52af.tar.gz |
t9801: do not overuse test_must_failva/git-p4-branch
test_must_fail is to make sure a program we can potentially break during
the course of updating git itself exits with a non-zero status in a clean
and controlled way.
When we expect a non-zero exit status from the commands we use from the
underlying platform in tests, e.g. making sure a string "error: " does not
appear in the output by running "grep 'error: '", just use "! grep" for
readability. It is not like we will try to update Git and suddenly 'grep'
we use from the system starts segfaulting.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions