summaryrefslogtreecommitdiff
path: root/t/t5411/test-0041-process-all-refs--porcelain.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5411/test-0041-process-all-refs--porcelain.sh')
-rw-r--r--t/t5411/test-0041-process-all-refs--porcelain.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5411/test-0041-process-all-refs--porcelain.sh b/t/t5411/test-0041-process-all-refs--porcelain.sh
index c88405792e..02e1e084d6 100644
--- a/t/t5411/test-0041-process-all-refs--porcelain.sh
+++ b/t/t5411/test-0041-process-all-refs--porcelain.sh
@@ -17,7 +17,7 @@ test_expect_success "setup upstream branches ($PROTOCOL/porcelain)" '
'
test_expect_success "setup proc-receive hook ($PROTOCOL/porcelain)" '
- write_script "$upstream/hooks/proc-receive" <<-EOF
+ test_hook -C "$upstream" --clobber proc-receive <<-EOF
printf >&2 "# proc-receive hook\n"
test-tool proc-receive -v \
-r "ok refs/heads/main" \