diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-09-03 10:06:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-03 12:54:52 -0700 |
commit | d8f7681337dd0c7944ba2293a72952110977077d (patch) | |
tree | 163208bbf711f9748d924d7d7b54fee58963739e /git-submodule.sh | |
parent | dfb1dc5c336f3fa709e32ce178525768713747f2 (diff) | |
download | git-d8f7681337dd0c7944ba2293a72952110977077d.tar.gz |
rev-parse test: use test_must_fail, not "if <command>; then false; fi"
This way, if rev-parse segfaults then the test will fail instead
of treating it the same way as a controlled failure.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-submodule.sh')
0 files changed, 0 insertions, 0 deletions