From b6f4b3de253a5a8540fd17cd6d279eb377cee111 Mon Sep 17 00:00:00 2001
From: Quanah Gibson-Mount <quanah@openldap.org>
Date: Tue, 17 Mar 2009 17:40:29 +0000
Subject: [PATCH] ITS#6026

---
 CHANGES           | 1 +
 tests/scripts/all | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/CHANGES b/CHANGES
index 23ba22f951..dd9a32ce56 100644
--- a/CHANGES
+++ b/CHANGES
@@ -29,6 +29,7 @@ OpenLDAP 2.4.16 Engineering
 	Fixed slapo-syncprov skipped entries with MMR (ITS#5988)
 	Build Environment
 		Cleaned up alloc/free functions for Windows (ITS#6005)
+		Fixed running of autosave files in testsuite (ITS#6026)
 	Documentation
 		admin24 clarified MMR URI requirements (ITS#5942,ITS#5987)
 		Added ldapexop(1) manual page (ITS#5982)
diff --git a/tests/scripts/all b/tests/scripts/all
index 2b0d01130f..9d0ac955f5 100755
--- a/tests/scripts/all
+++ b/tests/scripts/all
@@ -26,6 +26,14 @@ SLEEPTIME=10
 echo ">>>>> Executing all LDAP tests for $BACKEND"
 
 for CMD in $SRCDIR/scripts/test*; do
+	case "$CMD" in
+		*~)		continue;;
+		*.bak)	continue;;
+		*.orig)	continue;;
+		*.sav)	continue;;
+		*)		test -x "$CMD" || continue;;
+	esac
+
 	# remove cruft from prior test
 	if test $PRESERVE = yes ; then
 		/bin/rm -rf $TESTDIR/db.*
-- 
GitLab