summaryrefslogtreecommitdiff
path: root/tests/prepare.sh
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2009-06-11 12:34:54 +0000
committerStefan Bühler <stbuehler@web.de>2009-06-11 12:34:54 +0000
commit59eaedf353eb1c3e008840bfbb651d714295eeb4 (patch)
tree411575167b904ab16713f157393d624ceea7211c /tests/prepare.sh
parent3af67d139238081356a1542f3eeb68ef6fd5fd3d (diff)
downloadlighttpd1.4-59eaedf353eb1c3e008840bfbb651d714295eeb4.tar.gz
lighttpd1.4-59eaedf353eb1c3e008840bfbb651d714295eeb4.zip
[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
Diffstat (limited to 'tests/prepare.sh')
-rwxr-xr-xtests/prepare.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/prepare.sh b/tests/prepare.sh
index 900ea16c..99fc382a 100755
--- a/tests/prepare.sh
+++ b/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"