mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#9437 Create testdir before we need it
This commit is contained in:
parent
9c1b67fe60
commit
60518dbae0
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue