[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP 1.0 and Solaris 2.5.1
At 03:08 PM 9/1/98 +1000, you wrote:
>Problem #1 - in the indicated script is a line "rm -f $DBDIR/[^C]*" which
>fails under Solaris' Bourne Shell (/bin/sh). Further testing indicated that
>it works under the Tenex C Shell (tcsh) and Solaris' Korn Shell (/bin/ksh).
>Presumably this script was really intended for GNU bash (/bin/bash)??
The attached patch for this bug has commited to -stable and -devel.
>Problem #2 - there's plenty of room on the disk (on all of them!); OpenLDAP
>has been compiled with only LDBM backend support (ndbm), nothing else. Any
>ideas, or pointers for where to start looking in the code for a solution?
My guess is that was caused by the test directory not be properly cleaned.
Any other NDBM users seen this one?
-- Kurt
Index: Make-template
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/Make-template,v
retrieving revision 1.4
retrieving revision 1.4.6.1
diff -u -r1.4 -r1.4.6.1
--- Make-template 1998/08/15 00:21:07 1.4
+++ Make-template 1998/08/30 16:16:00 1.4.6.1
@@ -26,7 +26,7 @@
depend: FORCE
clean: FORCE
- $(RM) test-db/[^C]* test-repl/[^C]*
+ $(RM) test-db/[!C]* test-repl/[!C]*
veryclean: clean
Index: scripts/makeldbm.sh
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/makeldbm.sh,v
retrieving revision 1.2
retrieving revision 1.2.6.1
diff -u -r1.2 -r1.2.6.1
--- makeldbm.sh 1998/08/14 03:04:45 1.2
+++ makeldbm.sh 1998/08/30 16:16:03 1.2.6.1
@@ -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
Index: scripts/test001-ldif2ldbm
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/test001-ldif2ldbm,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -r1.3 -r1.3.6.1
--- test001-ldif2ldbm 1998/08/14 21:59:42 1.3
+++ test001-ldif2ldbm 1998/08/30 16:16:03 1.3.6.1
@@ -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
Index: scripts/test002-populate
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/test002-populate,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- test002-populate 1998/08/21 04:33:42 1.5
+++ test002-populate 1998/08/30 16:16:03 1.5.2.1
@@ -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 &
Index: scripts/test003-search
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/test003-search,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -r1.3 -r1.3.6.1
--- test003-search 1998/08/14 21:59:42 1.3
+++ test003-search 1998/08/30 16:16:03 1.3.6.1
@@ -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
Index: scripts/test004-modify
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/test004-modify,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -r1.3 -r1.3.6.1
--- test004-modify 1998/08/14 21:59:42 1.3
+++ test004-modify 1998/08/30 16:16:03 1.3.6.1
@@ -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
Index: scripts/test006-acls
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/test006-acls,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- test006-acls 1998/08/21 04:33:43 1.4
+++ test006-acls 1998/08/30 16:16:03 1.4.2.1
@@ -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
Index: scripts/test007-replication
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/tests/scripts/test007-replication,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -r1.4 -r1.4.4.1
--- test007-replication 1998/08/18 22:11:06 1.4
+++ test007-replication 1998/08/30 16:16:03 1.4.4.1
@@ -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 &