[tests] move tests/docroot/www contents up 1 level

reduce directories under tests
(because automake is sloooow and the fewer dirs, the better)
personal/stbuehler/tests-path
Glenn Strauss 2021-08-26 01:25:19 -04:00
parent 3f0833328c
commit 18ec4f419c
14 changed files with 16 additions and 18 deletions

View File

@ -1696,7 +1696,6 @@ AC_CONFIG_FILES([\
Makefile \
src/Makefile \
tests/docroot/Makefile \
tests/docroot/www/Makefile \
tests/Makefile \
])
AC_OUTPUT

View File

@ -1,2 +1,12 @@
SUBDIRS=www
GNUMAKEFLAGS=--no-print-directory -s
EXTRA_DIST=\
404.html \
404.pl \
cgi.pl \
exec-date.shtml \
index.html \
index.txt \
prefix.fcgi \
ssi-include.shtml \
ssi-include.txt \
ssi.shtml

View File

@ -1,11 +0,0 @@
EXTRA_DIST=\
404.html \
404.pl \
cgi.pl \
exec-date.shtml \
index.html \
index.txt \
prefix.fcgi \
ssi-include.shtml \
ssi-include.txt \
ssi.shtml

View File

@ -28,11 +28,11 @@ mkdir -p "${tmpdir}/servers/www.example.org/pages/" \
"${tmpdir}/cache/compress/"
# copy everything into the right places
cp "${srcdir}/docroot/www/"*.html \
"${srcdir}/docroot/www/"*.pl \
"${srcdir}/docroot/www/"*.fcgi \
"${srcdir}/docroot/www/"*.shtml \
"${srcdir}/docroot/www/"*.txt \
cp "${srcdir}/docroot/"*.html \
"${srcdir}/docroot/"*.pl \
"${srcdir}/docroot/"*.fcgi \
"${srcdir}/docroot/"*.shtml \
"${srcdir}/docroot/"*.txt \
"${tmpdir}/servers/www.example.org/pages/"
cp "${srcdir}/lighttpd.user" "${tmpdir}/"
cp "${srcdir}/lighttpd.htpasswd" "${tmpdir}/"