]> git.sur5r.net Git - openldap/commitdiff
ITS#6026 Don't run autosaved test scripts
authorRein Tollevik <rein@openldap.org>
Mon, 16 Mar 2009 10:17:16 +0000 (10:17 +0000)
committerRein Tollevik <rein@openldap.org>
Mon, 16 Mar 2009 10:17:16 +0000 (10:17 +0000)
tests/scripts/all

index 2b0d01130fec5fea5c65a8bfed0211e00742ff9c..cc1ca74b82659a635a7487a529baac68f06b151c 100755 (executable)
@@ -26,6 +26,13 @@ SLEEPTIME=10
 echo ">>>>> Executing all LDAP tests for $BACKEND"
 
 for CMD in $SRCDIR/scripts/test*; do
+       case "$CMD" in
+               *~)             continue;;
+               *.bak)  continue;;
+               *.sav)  continue;;
+               *)              test -x "$CMD" || continue;;
+       esac
+
        # remove cruft from prior test
        if test $PRESERVE = yes ; then
                /bin/rm -rf $TESTDIR/db.*