Skip to content

Commit

Permalink
test_prepare (fixes #45) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Dec 31, 2017
1 parent 3eea4f4 commit 37cb193
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test_prepare
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
#
test_prog=$1

[ ! -d conf ] && cp -rp $srcdir/conf .
[ ! -d htdocs ] && cp -rp $srcdir/htdocs .
[ ! -d conf ] && cp -rp $top_srcdir/conf .
[ ! -d htdocs ] && cp -rp $top_srcdir/htdocs .

if [ ! -f skiptest_db.txt ] ; then
cp $srcdir/skiptest_db.txt .
if [ ! -f skiptest_db.txt ] ; then
cp $top_srcdir/skiptest_db.txt .
fi

exec $srcdir/$test_prog
exec $top_srcdir/$test_prog

0 comments on commit 37cb193

Please sign in to comment.