]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5411/test-0035-report-ft--porcelain.sh
proc-receive hook tests: use "test_hook" instead of "write_script"
[thirdparty/git.git] / t / t5411 / test-0035-report-ft--porcelain.sh
index c3502011075ff974af142317e80e207ab545fb8f..b9a05181f1ac7ac3fa122d98165d2f5d84334a4e 100644 (file)
@@ -1,5 +1,5 @@
 test_expect_success "setup proc-receive hook (fall-through, $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/for/main/topic" \