From a1e0e1cbcfefa513982f8351fb8b13fbd61c2d54 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 13 Apr 2010 18:42:24 -0700 Subject: Add basic DFS tests. Jeremy. --- source3/script/tests/selftest.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'source3/script/tests/selftest.sh') diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index a13877ddc9..2248ecf5b0 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -190,6 +190,20 @@ mkdir -p $RO_SHRDIR chmod 755 $RO_SHRDIR touch $RO_SHRDIR/unreadable_file chmod 600 $RO_SHRDIR/unreadable_file +## +## Create an MS-DFS root share. +## +MSDFS_SHRDIR=`echo $SHRDIR | sed -e 's:/[^/]*$::'` +MSDFS_SHRDIR=$MSDFS_SHRDIR/msdfsshare +mkdir -p $MSDFS_SHRDIR +chmod 777 $MSDFS_SHRDIR +mkdir -p $MSDFS_SHRDIR/deeppath +chmod 777 $MSDFS_SHRDIR/deeppath +## Create something visible in the target. +touch $RO_SHRDIR/msdfs-target +chmod 666 $RO_SHRDIR/msdfs-target +ln -s msdfs:$SERVER_IP\\ro-tmp $MSDFS_SHRDIR/msdfs-src1 +ln -s msdfs:$SERVER_IP\\ro-tmp $MSDFS_SHRDIR/deeppath/msdfs-src2 ## ## Create the common config include file with the basic settings @@ -325,6 +339,10 @@ cat >$SERVERCONFFILE<