diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-02-20 14:27:00 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-02-20 14:27:00 +0000 |
commit | bcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b (patch) | |
tree | a0536d23ba17a40c236fc3cd2a4a133110ae7501 /tests/prepare.sh | |
download | lighttpd-git-bcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b.tar.gz |
moved everything below trunk/ and added branches/ and tags/
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/prepare.sh')
-rwxr-xr-x | tests/prepare.sh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/prepare.sh b/tests/prepare.sh new file mode 100755 index 00000000..faa7e220 --- /dev/null +++ b/tests/prepare.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +tmpdir=/tmp/lighttpd + +if test x$srcdir = x; then + srcdir=. +fi + +# create test-framework +rm -rf $tmpdir +mkdir -p $tmpdir/servers/www.example.org/pages/ +mkdir -p $tmpdir/servers/www.example.org/pages/dummydir/ +mkdir -p $tmpdir/servers/www.example.org/pages/go/ +mkdir -p $tmpdir/servers/www.example.org/pages/indexfile/ +mkdir -p $tmpdir/servers/123.example.org/pages/ +mkdir -p $tmpdir/logs/ +mkdir -p $tmpdir/cache/ +mkdir -p $tmpdir/cache/compress/ + +# copy everything into the right places +cp $srcdir/docroot/www/*.html \ + $srcdir/docroot/www/*.php \ + $srcdir/docroot/www/*.pl \ + $srcdir/docroot/www/*.txt $tmpdir/servers/www.example.org/pages/ +cp $srcdir/docroot/www/go/*.php $tmpdir/servers/www.example.org/pages/go/ +cp $srcdir/docroot/www/indexfile/*.php $tmpdir/servers/www.example.org/pages/indexfile/ +cp $srcdir/docroot/123/*.txt \ + $srcdir/docroot/123/*.html \ + $srcdir/docroot/123/*.php \ + $srcdir/docroot/123/*.bla $tmpdir/servers/123.example.org/pages/ +cp $srcdir/lighttpd.user $tmpdir/ + +printf "%-40s" "preparing infrastructure" + +exit 0 |