Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Use reflog in 'pull --rebase . foo'
[gitweb.git]
/
t
/
t5406-remote-rejects.sh
diff --git
a/t/t5406-remote-rejects.sh
b/t/t5406-remote-rejects.sh
index 46b2cb4e46d9d8bb2ae8cf2ea5d6b03331d4ac05..59e80a5ea253607bf83ac4eed670744df950eb81 100755
(executable)
--- a/
t/t5406-remote-rejects.sh
+++ b/
t/t5406-remote-rejects.sh
@@
-17,7
+17,7
@@
test_expect_success 'setup' '
git commit -a -m 2
'
-test_expect_success 'push reports error' '
!
git push 2>stderr'
+test_expect_success 'push reports error' '
test_must_fail
git push 2>stderr'
test_expect_success 'individual ref reports error' 'grep rejected stderr'