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' '! git push 2>stderr'
22 test_expect_success 'individual ref reports error' 'grep rejected stderr'