mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#9926 drop symlinks from homedir testdata
Create them when running the test script instead.
This commit is contained in:
parent
4d44064730
commit
9ebe27edfe
4 changed files with 5 additions and 3 deletions
|
|
@ -1 +0,0 @@
|
|||
../target
|
||||
|
|
@ -1 +0,0 @@
|
|||
directory
|
||||
|
|
@ -44,7 +44,7 @@ rootpw secret
|
|||
overlay homedir
|
||||
|
||||
homedir-min-uidnumber @MINUID@
|
||||
homedir-skeleton-path @DATADIR@/homedir/skel
|
||||
homedir-skeleton-path @TESTDIR@/skel
|
||||
homedir-regexp ^(/home/[-_/a-z0-9]+)$ @TESTDIR@/$1
|
||||
homedir-delete-style ARCHIVE
|
||||
homedir-archive-path @TESTDIR@/archive
|
||||
|
|
|
|||
|
|
@ -23,6 +23,10 @@ fi
|
|||
|
||||
mkdir -p $TESTDIR $DBDIR1 $TESTDIR/home $TESTDIR/archive
|
||||
|
||||
# copy skel dir so we can create symlinks in it
|
||||
cp -r $DATADIR/homedir/skel $TESTDIR
|
||||
(cd $TESTDIR/skel; ln -s directory symlink; cd directory; ln -s ../target "broken link")
|
||||
|
||||
$SLAPPASSWD -g -n >$CONFIGPWF
|
||||
echo "rootpw `$SLAPPASSWD -T $CONFIGPWF`" >$TESTDIR/configpw.conf
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue