From: Arran Cudbard-Bell Date: Sat, 20 May 2023 06:22:17 +0000 (-0400) Subject: Nope... that won't work X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0f681793f9672ad84dbe3564ec24ce672a9ec4c;p=thirdparty%2Ffreeradius-server.git Nope... that won't work --- diff --git a/scripts/ci/ldap-setup.sh b/scripts/ci/ldap-setup.sh index 7862cce8a52..d49e80d2413 100755 --- a/scripts/ci/ldap-setup.sh +++ b/scripts/ci/ldap-setup.sh @@ -29,13 +29,7 @@ else fi # Start slapd -if ! slapd -d any -h "ldap://127.0.0.1:3890/" -f scripts/ci/ldap/slapd.conf 2>&1 > /tmp/slapd.log &; then - cat /tmp/slapd.log - exit 1 -fi - -# Wait for LDAP to start -sleep 1 +slapd -d any -h "ldap://127.0.0.1:3890/" -f scripts/ci/ldap/slapd.conf 2>&1 > /tmp/slapd.log & # Add test data count=0 @@ -50,5 +44,6 @@ done if [ $? -ne 0 ]; then echo "Error configuring server" + cat /tmp/slapd.log exit 1 fi