diff options
author | Jared Hance <jaredhance@gmail.com> | 2010-07-20 19:18:34 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-20 16:47:17 -0700 |
commit | ce14e0b264b31dd02a0c9d1688bceb6579d052fa (patch) | |
tree | 6496dde81c7a512ee30b90afff7f5c9914093dfb /t/t9140-git-svn-reset.sh | |
parent | c5212b87dafb3f559ceb898bd9b40bfc3cd0ad68 (diff) | |
download | git-ce14e0b264b31dd02a0c9d1688bceb6579d052fa.tar.gz |
Convert "! git" to "test_must_fail git"
test_must_fail will account for segfaults in git, so it should be used
instead of "! git"
This patch does not change any of the commands that use pipes.
Signed-off-by: Jared Hance <jaredhance@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9140-git-svn-reset.sh')
-rwxr-xr-x | t/t9140-git-svn-reset.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9140-git-svn-reset.sh b/t/t9140-git-svn-reset.sh index 0735526d4b..e855904629 100755 --- a/t/t9140-git-svn-reset.sh +++ b/t/t9140-git-svn-reset.sh @@ -41,7 +41,7 @@ test_expect_success 'modify hidden file in SVN repo' ' test_expect_success 'fetch fails on modified hidden file' ' ( cd g && git svn find-rev refs/remotes/git-svn > ../expect && - ! git svn fetch 2> ../errors && + test_must_fail git svn fetch 2> ../errors && git svn find-rev refs/remotes/git-svn > ../expect2 ) && fgrep "not found in commit" errors && test_cmp expect expect2 |