From 15b010907193c23e7d89918e74b90ff36e21bab9 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Mon, 29 Aug 2005 12:08:00 +0000 Subject: run tests in build root (merged #228) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@640 152afb58-edef-0310-8abb-c4023f1b3aa9 --- tests/prepare.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests/prepare.sh') diff --git a/tests/prepare.sh b/tests/prepare.sh index 451151a6..e7a68a92 100755 --- a/tests/prepare.sh +++ b/tests/prepare.sh @@ -1,11 +1,11 @@ #!/bin/sh -tmpdir=/tmp/lighttpd - if test x$srcdir = x; then srcdir=. fi +tmpdir=$srcdir/tmp/lighttpd + # create test-framework rm -rf $tmpdir mkdir -p $tmpdir/servers/www.example.org/pages/ @@ -24,6 +24,9 @@ cp $srcdir/docroot/www/*.html \ $srcdir/docroot/www/*.pl \ $srcdir/docroot/www/*.fcgi \ $srcdir/docroot/www/*.shtml \ + $srcdir/docroot/www/*.jpg \ + $srcdir/docroot/www/*.JPG \ + $srcdir/docroot/www/a \ $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/expire/*.txt $tmpdir/servers/www.example.org/pages/expire/ @@ -33,7 +36,7 @@ cp $srcdir/docroot/123/*.txt \ $srcdir/docroot/123/*.php \ $srcdir/docroot/123/*.bla $tmpdir/servers/123.example.org/pages/ cp $srcdir/lighttpd.user $tmpdir/ -cp $srcdir/var-include-sub.conf /tmp/ +cp $srcdir/var-include-sub.conf $srcdir/tmp printf "%-40s" "preparing infrastructure" -- cgit v1.2.1