summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2023-05-04 00:34:05 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2023-05-04 00:38:29 -0400
commit1295dd4389b4e2281db4584e2888f4946f679da1 (patch)
treecba1df0eeff47460b182bde845e8abbe65612443
parent0ce53275debc0a9eac67dbc2c006fa585b4b94e3 (diff)
downloadlighttpd-git-1295dd4389b4e2281db4584e2888f4946f679da1.tar.gz
[tests] copy confs for running tests in alt dir
copy tests/*.conf for running tests in alternative build dir
-rwxr-xr-xtests/prepare.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/prepare.sh b/tests/prepare.sh
index 49f5aff9..c8e70da7 100755
--- a/tests/prepare.sh
+++ b/tests/prepare.sh
@@ -34,6 +34,12 @@ cp "${srcdir}/docroot/"*.html \
"${srcdir}/docroot/"*.txt \
"${tmpdir}/servers/www.example.org/pages/"
+cp -n "${srcdir}/"*.conf \
+ "${srcdir}/lighttpd.user" \
+ "${srcdir}/lighttpd.htpasswd" \
+ "${srcdir}/var-include-sub.conf" \
+ "${top_builddir}/tests/" || true
+
# create some content
touch "${tmpdir}/servers/www.example.org/pages/image.jpg" \
"${tmpdir}/servers/www.example.org/pages/image.JPG" \