Debian Codegraph @

test/test_prepare

raw ◀ ▶
1 Debian patch touch this file
1 #
•2 # Part of the ht://Dig package <https://htdig.sourceforge.net/>
3 # Copyright (c) 1999-2004 The ht://Dig Group
4 # For copyright details, see the file COPYING in your distribution
5 # or the GNU Library General Public License (LGPL) version 2 or later
6 # <http://www.gnu.org/copyleft/lgpl.html>
7 #
8 # Make sure all data has been copied from the source directory
9 #
10 test_prog=$1
11
12 [ ! -d conf ] && cp -rp $srcdir/conf .
13 [ ! -d htdocs ] && cp -rp $srcdir/htdocs .
14
15 if [ ! -f skiptest_db.txt ] ; then
16 cp $srcdir/skiptest_db.txt .
17 fi
18
19 exec $srcdir/$test_prog