Browse Source

[tests] Remove index.html~ from repository, create it on the fly for tests

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2530 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.23
Stefan Bühler 13 years ago
parent
commit
59eaedf353
  1. 2
      tests/docroot/www/Makefile.am
  2. 0
      tests/docroot/www/index.html~
  3. 4
      tests/prepare.sh

2
tests/docroot/www/Makefile.am

@ -1,5 +1,5 @@
EXTRA_DIST=cgi.php cgi.pl index.html index.txt phpinfo.php \
redirect.php cgi-pathinfo.pl get-env.php get-server-env.php \
nph-status.pl prefix.fcgi get-header.pl ssi.shtml get-post-len.pl \
exec-date.shtml index.html~ 404.fcgi 404.html 404.pl send404.pl crlfcrash.pl
exec-date.shtml 404.fcgi 404.html 404.pl send404.pl crlfcrash.pl
SUBDIRS=go indexfile expire

0
tests/docroot/www/index.html~

4
tests/prepare.sh

@ -25,7 +25,6 @@ mkdir -p $tmpdir/cache/compress/
# copy everything into the right places
cp $srcdir/docroot/www/*.html \
$srcdir/docroot/www/*.php \
$srcdir/docroot/www/*.html~ \
$srcdir/docroot/www/*.pl \
$srcdir/docroot/www/*.fcgi \
$srcdir/docroot/www/*.shtml \
@ -43,7 +42,8 @@ cp $srcdir/var-include-sub.conf $tmpdir/../
touch $tmpdir/servers/www.example.org/pages/image.jpg \
$tmpdir/servers/www.example.org/pages/image.JPG \
$tmpdir/servers/www.example.org/pages/Foo.txt \
$tmpdir/servers/www.example.org/pages/a
$tmpdir/servers/www.example.org/pages/a \
$tmpdir/servers/www.example.org/pages/index.html~
echo "12345" > $tmpdir/servers/www.example.org/pages/range.pdf
printf "%-40s" "preparing infrastructure"

Loading…
Cancel
Save