From d831315a265ca65fc29c3cd975769eaf23e0c52b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 30 Aug 1998 18:10:20 +0000 Subject: [PATCH] Fixed various rm statements to use more common expression format. Patch provided by dj@gregor.com. --- tests/Make-template | 2 +- tests/scripts/test001-ldif2ldbm | 2 +- tests/scripts/test001-slapadd | 2 +- tests/scripts/test002-populate | 2 +- tests/scripts/test003-search | 2 +- tests/scripts/test004-modify | 2 +- tests/scripts/test006-acls | 2 +- tests/scripts/test007-replication | 4 ++-- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/Make-template b/tests/Make-template index d92003f629..7e6be68593 100644 --- a/tests/Make-template +++ b/tests/Make-template @@ -26,7 +26,7 @@ install: FORCE depend: FORCE clean: FORCE - $(RM) test-db/[^C]* test-repl/[^C]* + $(RM) test-db/[!C]* test-repl/[!C]* veryclean: clean diff --git a/tests/scripts/test001-ldif2ldbm b/tests/scripts/test001-ldif2ldbm index b97a6f77e4..26d10fff94 100755 --- a/tests/scripts/test001-ldif2ldbm +++ b/tests/scripts/test001-ldif2ldbm @@ -5,7 +5,7 @@ echo "Cleaning up in $DBDIR..." -rm -f $DBDIR/[^C]* +rm -f $DBDIR/[!C]* echo "Running ldif2ldbm to build slapd database..." $LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools diff --git a/tests/scripts/test001-slapadd b/tests/scripts/test001-slapadd index b97a6f77e4..26d10fff94 100755 --- a/tests/scripts/test001-slapadd +++ b/tests/scripts/test001-slapadd @@ -5,7 +5,7 @@ echo "Cleaning up in $DBDIR..." -rm -f $DBDIR/[^C]* +rm -f $DBDIR/[!C]* echo "Running ldif2ldbm to build slapd database..." $LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools diff --git a/tests/scripts/test002-populate b/tests/scripts/test002-populate index bf01845fd8..4f31092f48 100755 --- a/tests/scripts/test002-populate +++ b/tests/scripts/test002-populate @@ -5,7 +5,7 @@ echo "Cleaning up in $DBDIR..." -rm -f $DBDIR/[^C]* +rm -f $DBDIR/[!C]* echo "Starting slapd on TCP/IP port $PORT..." $SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 & diff --git a/tests/scripts/test003-search b/tests/scripts/test003-search index a9655da2ad..868ea4b840 100755 --- a/tests/scripts/test003-search +++ b/tests/scripts/test003-search @@ -4,7 +4,7 @@ echo "Cleaning up in $DBDIR..." -rm -f $DBDIR/[^C]* +rm -f $DBDIR/[!C]* echo "Running ldif2ldbm to build slapd database..." $LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools diff --git a/tests/scripts/test004-modify b/tests/scripts/test004-modify index 35caa4c518..8f31d33c73 100755 --- a/tests/scripts/test004-modify +++ b/tests/scripts/test004-modify @@ -4,7 +4,7 @@ echo "Cleaning up in $DBDIR..." -rm -f $DBDIR/[^C]* +rm -f $DBDIR/[!C]* echo "Running ldif2ldbm to build slapd database..." $LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools diff --git a/tests/scripts/test006-acls b/tests/scripts/test006-acls index a9b1b4c519..3805692b0d 100755 --- a/tests/scripts/test006-acls +++ b/tests/scripts/test006-acls @@ -4,7 +4,7 @@ echo "Cleaning up in $DBDIR..." -rm -f $DBDIR/[^C]* +rm -f $DBDIR/[!C]* echo "Running ldif2ldbm to build slapd database..." $LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools diff --git a/tests/scripts/test007-replication b/tests/scripts/test007-replication index 6a643cb488..0be88238b4 100755 --- a/tests/scripts/test007-replication +++ b/tests/scripts/test007-replication @@ -13,9 +13,9 @@ . scripts/defines.sh echo "Cleaning up in $DBDIR..." -rm -f $DBDIR/[^C]* +rm -f $DBDIR/[!C]* echo "Cleaning up in $REPLDIR..." -rm -f $REPLDIR/[^C]* +rm -f $REPLDIR/[!C]* echo "Starting master slapd on TCP/IP port $PORT..." $SLAPD -f $MASTERCONF -p $PORT -d 1 > $MASTERLOG 2>&1 & -- 2.39.5