]> git.sur5r.net Git - openldap/commitdiff
Move log level to defines.sh
authorKurt Zeilenga <kurt@openldap.org>
Wed, 20 Jan 1999 05:44:54 +0000 (05:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 20 Jan 1999 05:44:54 +0000 (05:44 +0000)
tests/scripts/defines.sh
tests/scripts/test001-ldif2ldbm
tests/scripts/test002-populate
tests/scripts/test003-search
tests/scripts/test004-modify
tests/scripts/test006-acls
tests/scripts/test007-replication

index f16d201317be6a9dafc43b528755033ce0a0d4b7..49a6656fb7e6b768b9ce7ad6a6586ea373c50a03 100755 (executable)
@@ -6,6 +6,7 @@ SLURPD=../servers/slurpd/slurpd
 LDAPSEARCH=../clients/tools/ldapsearch
 LDAPMODIFY=../clients/tools/ldapmodify
 LDAPADD=../clients/tools/ldapadd
+LVL=5
 PORT=9009
 SLAVEPORT=9010
 DBDIR=./test-db
index 49f00671b1d8b46dafa5711f27ca0703005f00fa..64deb66b875b4b2d16e14c264d1d985fd8d35a2b 100755 (executable)
@@ -25,7 +25,7 @@ if [ $RC != 0 ]; then
 fi
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Using ldapsearch to retrieve all the entries..."
index d5f659b71d70d57e40703279be382f1aba830c84..cc7fc7debdf5ef8787d2cdaf5ac69aafe771c064 100755 (executable)
@@ -13,7 +13,7 @@ echo "Cleaning up in $DBDIR..."
 rm -f $DBDIR/[!C]*
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Using ldapsearch to check that slapd is running..."
index 661ccc219f39515e6da09cf3af7aa4160931967a..e6d2d6ac9daf4f1ddca52eb8e3cda5a2b347da3c 100755 (executable)
@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
 fi
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Testing slapd searching..."
index 46d813e7e7ae241e0fa78d19156c30ce9c21a23a..bea606e7a3751caf46e6274b325a1ba6290f606d 100755 (executable)
@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
 fi
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Testing slapd modify operations..."
index 6979cf27fa8a1075472076d0e1497eac5af35545..7a1f0f84f51288e6a031e0fd78d28be2b74d7b4a 100755 (executable)
@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
 fi
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $ACLCONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $ACLCONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Testing slapd access control..."
index 58bcfec0a179931ac40793b549ae5ff931dc5408..472d257678be3b631f265e62ecb3445a02735aac 100755 (executable)
@@ -30,11 +30,11 @@ echo "Cleaning up in $REPLDIR..."
 rm -f $REPLDIR/[!C]*
 
 echo "Starting master slapd on TCP/IP port $PORT..."
-$SLAPD -f $MASTERCONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $MASTERCONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Starting slave slapd on TCP/IP port $SLAVEPORT..."
-$SLAPD -f $SLAVECONF -p $SLAVEPORT -d 1 > $SLAVELOG 2>&1 &
+$SLAPD -f $SLAVECONF -p $SLAVEPORT -d $LVL > $SLAVELOG 2>&1 &
 SLAVEPID=$!
 
 echo "Using ldapsearch to check that master slapd is running..."