summaryrefslogtreecommitdiff
path: root/t/t5406-remote-rejects.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5406-remote-rejects.sh')
-rwxr-xr-xt/t5406-remote-rejects.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5406-remote-rejects.sh b/t/t5406-remote-rejects.sh
index 5c509db6fc..dcbeb42082 100755
--- a/t/t5406-remote-rejects.sh
+++ b/t/t5406-remote-rejects.sh
@@ -5,7 +5,7 @@ test_description='remote push rejects are reported by client'
. ./test-lib.sh
test_expect_success 'setup' '
- write_script .git/hooks/update <<-\EOF &&
+ test_hook update <<-\EOF &&
exit 1
EOF
echo 1 >file &&