# - retrieve database over ldap and compare against expected results
#
-. scripts/defines.sh
+if [ $# -eq 0 ]; then
+ SRCDIR="."
+else
+ SRCDIR=$1; shift
+fi
+
+. $SRCDIR/scripts/defines.sh $SRCDIR
+
+if test ! -x $SLURPD ; then
+ echo ">>>>> $SLURPD is not executable or do not exist."
+ echo ">>>>> Test skipped."
+ exit 0
+fi
echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*