]>
git.ipfire.org Git - thirdparty/git.git/blob - t/t5406-remote-rejects.sh
3 test_description
='remote push rejects are reported by client'
7 test_expect_success
'setup' '
9 (echo "#!/bin/sh" ; echo "exit 1") >.git/hooks/update &&
10 chmod +x .git/hooks/update &&
20 test_expect_success
'push reports error' 'test_must_fail git push 2>stderr'
22 test_expect_success
'individual ref reports error' 'grep rejected stderr'