]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test007-replication
Skip replication test if slurpd doesn't exist.
[openldap] / tests / scripts / test007-replication
index 0be88238b455f2420d177a61e42c04759be8c23e..10190728fc044468f7868b78f6c7f97c7543ffdf 100755 (executable)
 
 . scripts/defines.sh
 
+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]*
 echo "Cleaning up in $REPLDIR..."