]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9926 test085 additional fix
authorHoward Chu <hyc@openldap.org>
Tue, 11 Oct 2022 14:25:29 +0000 (15:25 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 13 Oct 2022 16:01:24 +0000 (16:01 +0000)
Git doesn't recreate empty directories, make it explicitly

tests/scripts/test085-homedir

index 5c9ce2466fe041ba37b812c1e22828dee1794b35..3b98ca5ee5308b02d653d93322c5f137adcbce86 100755 (executable)
@@ -25,7 +25,7 @@ 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")
+(cd $TESTDIR/skel; mkdir directory; ln -s directory symlink; cd directory; ln -s ../target "broken link")
 
 $SLAPPASSWD -g -n >$CONFIGPWF
 echo "rootpw `$SLAPPASSWD -T $CONFIGPWF`" >$TESTDIR/configpw.conf