From 18408aaddde3b8c552c4d8ca123cecac5417288a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Thu, 1 Sep 2022 11:13:37 +0100 Subject: [PATCH] ITS#9437 Create testdir before we need it --- tests/scripts/test081-totp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/scripts/test081-totp b/tests/scripts/test081-totp index 2c7a21c861..052f0e6723 100755 --- a/tests/scripts/test081-totp +++ b/tests/scripts/test081-totp @@ -22,6 +22,12 @@ if test $OTP = otpno; then exit 0 fi +export URI1 MANAGERDN PASSWD BABSDN BJORNSDN + +OTP_DATA=$DATADIR/otp/totp.ldif + +mkdir -p $TESTDIR $DBDIR1 + for python in python3 python2 python2.7 python27 python ""; do if test x"$python" = x; then echo "Useable Python environment not found, skipping test" @@ -42,12 +48,6 @@ for python in python3 python2 python2.7 python27 python ""; do esac done -export URI1 MANAGERDN PASSWD BABSDN BJORNSDN - -OTP_DATA=$DATADIR/otp/totp.ldif - -mkdir -p $TESTDIR $DBDIR1 - echo "Running slapadd to build slapd database..." . $CONFFILTER $BACKEND < $CONF > $ADDCONF $SLAPADD -f $ADDCONF -l $LDIFORDERED -- 2.47.2