From: Kurt Zeilenga Date: Sun, 30 Aug 1998 18:10:20 +0000 (+0000) Subject: Fixed various rm statements to use more common expression format. X-Git-Tag: PHP3_TOOL_0_0~97 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d831315a265ca65fc29c3cd975769eaf23e0c52b;p=openldap Fixed various rm statements to use more common expression format. Patch provided by dj@gregor.com. --- 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 &