summaryrefslogtreecommitdiff
path: root/tests/prepare.sh
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2013-08-30 13:15:01 +0000
committerStefan Bühler <stbuehler@web.de>2013-08-30 13:15:01 +0000
commit95dc1ed79e2c36b3481163729ce104a80a8bfc19 (patch)
tree7eb113b267d9506d8f61d587b4af7d574fc7ad37 /tests/prepare.sh
parent92567b8b8fb3411fb01a5dcb6ad50514b8974638 (diff)
downloadlighttpd1.4-95dc1ed79e2c36b3481163729ce104a80a8bfc19.tar.gz
lighttpd1.4-95dc1ed79e2c36b3481163729ce104a80a8bfc19.zip
[tests] add mod_simplevhost tests
* next commit fixes the bug From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2897 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/prepare.sh')
-rwxr-xr-xtests/prepare.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/prepare.sh b/tests/prepare.sh
index 99fc382a..f24d14b4 100755
--- a/tests/prepare.sh
+++ b/tests/prepare.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
if test x$srcdir = x; then
srcdir=.
fi
@@ -18,6 +20,8 @@ mkdir -p $tmpdir/servers/www.example.org/pages/go/
mkdir -p $tmpdir/servers/www.example.org/pages/expire/
mkdir -p $tmpdir/servers/www.example.org/pages/indexfile/
mkdir -p $tmpdir/servers/123.example.org/pages/
+mkdir -p $tmpdir/servers/a.example.org/pages/a/
+mkdir -p $tmpdir/servers/b.example.org/pages/b/
mkdir -p $tmpdir/logs/
mkdir -p $tmpdir/cache/
mkdir -p $tmpdir/cache/compress/
@@ -43,7 +47,9 @@ 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/index.html~
+ $tmpdir/servers/www.example.org/pages/index.html~ \
+ $tmpdir/servers/a.example.org/pages/a/a.html \
+ $tmpdir/servers/b.example.org/pages/b/b.html
echo "12345" > $tmpdir/servers/www.example.org/pages/range.pdf
printf "%-40s" "preparing infrastructure"