From: Thomas Rast Date: Tue, 30 Aug 2011 00:06:07 +0000 (+0200) Subject: t3903: fix misquoted rev-parse invocation X-Git-Tag: v1.7.7-rc1~13^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ae96444104c2bd9c653658fef79ef543559ad27;p=git.git t3903: fix misquoted rev-parse invocation !"git ..." hopefully always succeeds because "git ..." is not the name of any executable. However, that's not what was intended. Unquote it, and while we're at it, also replace ! with test_must_fail since it is a call to git. Signed-off-by: Thomas Rast Acked-by: Jon Seymour Signed-off-by: Junio C Hamano --- diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh index d99f27a12..f56979d15 100755 --- a/t/t3903-stash.sh +++ b/t/t3903-stash.sh @@ -461,7 +461,7 @@ test_expect_success 'ref with non-existant reflog' ' echo bar6 > file2 && git add file2 && git stash && - ! "git rev-parse --quiet --verify does-not-exist" && + test_must_fail git rev-parse --quiet --verify does-not-exist && test_must_fail git stash drop does-not-exist && test_must_fail git stash drop does-not-exist@{0} && test_must_fail git stash pop does-not-exist &&