]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10361 Standardise CONFIGPWF usage 808/head
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 1 Dec 2025 10:16:47 +0000 (10:16 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 5 Dec 2025 18:47:39 +0000 (18:47 +0000)
tests/scripts/test090-auditlog

index f0e1550bbba26a96212fa15b07026d877b9cba4e..15328e7c1115312a4a3421af45ee30a4e2c8d3fc 100755 (executable)
@@ -82,7 +82,7 @@ esac
 AUDITLOGFILE="$TESTDIR/audit.log"
 
 echo "Running ldapadd to build slapd config database..."
-$LDAPADD -H $URI1 -D 'cn=config' -w `cat $CONFIGPWF` \
+$LDAPADD -H $URI1 -D 'cn=config' -y $CONFIGPWF \
        >> $TESTOUT 2>&1 <<EOF
 dn: olcDatabase={1}$BACKEND,cn=config
 objectClass: olcDatabaseConfig
@@ -285,7 +285,7 @@ else
        mknod "$PIPEFILE" p
 
        echo "Testing non-blocking mode configuration..."
-       $LDAPMODIFY -H $URI1 -D 'cn=config' -w `cat $CONFIGPWF` \
+       $LDAPMODIFY -H $URI1 -D 'cn=config' -y $CONFIGPWF \
                >> $TESTOUT 2>&1 <<EOF
 dn: olcOverlay={0}auditlog,olcDatabase={1}$BACKEND,cn=config
 changetype: modify
@@ -366,7 +366,7 @@ EOF
        fi
 
        echo "Testing blocking mode and no pipe reader (should timeout)..."
-       $LDAPMODIFY -H $URI1 -D 'cn=config' -w `cat $CONFIGPWF` \
+       $LDAPMODIFY -H $URI1 -D 'cn=config' -y $CONFIGPWF \
                >> $TESTOUT 2>&1 <<EOF
 dn: olcOverlay={0}auditlog,olcDatabase={1}$BACKEND,cn=config
 changetype: modify