]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5411/test-0030-report-ok.sh
Sync with 2.35.8
[thirdparty/git.git] / t / t5411 / test-0030-report-ok.sh
index a3a6278213c4cb4a870c78705ecdd5dbf0e1e1e3..0f190a6e851697aac05693097e32c5a79604c7fe 100644 (file)
@@ -1,5 +1,5 @@
 test_expect_success "setup proc-receive hook (ok, $PROTOCOL)" '
-       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/for/main/topic"