summaryrefslogtreecommitdiff
path: root/testsuite/build_farm/basicsmb-preexec.test
blob: fc072e5fdb671dba8309cb677508e0a253eeb828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
. basicsmb.fns

password=samba
(test_smb_conf_setup && test_smbpasswd $password ) || exit 1

rm -f $prefix/testdir/preexec_touch

mode=PREEXEC
(test_listfilesauth $mode) || exit 1

if [ -f $prefix/testdir/preexec_touch ]; then
	rm -f $prefix/testdir/preexec_touch
else
	exit 1;
fi

mode=PREEXEC_close
(test_listfilesauth $mode) || exit 1

if [ -f $prefix/testdir/preexec_touch ]; then
	rm -f $prefix/testdir/preexec_touch
else
	exit 1;
fi

mode=PREEXEC_cl_fl
(test_listfilesauth_should_deny $mode) || exit 1