summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d66bb0)
raw | patch | inline | side by side (parent: 8d66bb0)
author | Thomas Rast <trast@student.ethz.ch> | |
Tue, 30 Aug 2011 00:06:07 +0000 (02:06 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Aug 2011 17:06:19 +0000 (10:06 -0700) |
!"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 <trast@student.ethz.ch>
Acked-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <trast@student.ethz.ch>
Acked-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3903-stash.sh | patch | blob | history |
diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
index d99f27a12f40d73094ef286a067f3c6771e61865..f56979d15a16b0aae60117eddc71cd8d9ca85727 100755 (executable)
--- a/t/t3903-stash.sh
+++ b/t/t3903-stash.sh
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 &&