Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Write the test filter scripts with write_script
Diffstat (limited to 'tests/t0301-security.sh')
| -rwxr-xr-x | tests/t0301-security.sh | 4 |
1 file changed, 1 insertion, 3 deletions
diff --git a/tests/t0301-security.sh b/tests/t0301-security.sh index be87a2b..73af518 100755 --- a/tests/t0301-security.sh +++ b/tests/t0301-security.sh @@ -389,8 +389,7 @@ test_expect_success 'set up the advisory fixtures' ' ) && mkdir -p readme && printf "readme text\n" >readme/README && - cat >auth.sh <<-\EOF && - #!/bin/sh + write_script auth.sh <<-\EOF && case "$1" in authenticate-post) cat >/dev/null @@ -399,7 +398,6 @@ test_expect_success 'set up the advisory fixtures' ' esac exit 1 EOF - chmod +x auth.sh && { echo "virtual-root=/" && echo "cache-size=0" && |
