Part 2 of fix for bug #8998 - Notify code can miss a ChDir.
[Samba.git] / testsuite / build_farm / basicsmb-preexec.test
blobfc072e5fdb671dba8309cb677508e0a253eeb828
1 . basicsmb.fns
3 password=samba
4 (test_smb_conf_setup && test_smbpasswd $password ) || exit 1
6 rm -f $prefix/testdir/preexec_touch
8 mode=PREEXEC
9 (test_listfilesauth $mode) || exit 1
11 if [ -f $prefix/testdir/preexec_touch ]; then
12         rm -f $prefix/testdir/preexec_touch
13 else
14         exit 1;
17 mode=PREEXEC_close
18 (test_listfilesauth $mode) || exit 1
20 if [ -f $prefix/testdir/preexec_touch ]; then
21         rm -f $prefix/testdir/preexec_touch
22 else
23         exit 1;
26 mode=PREEXEC_cl_fl
27 (test_listfilesauth_should_deny $mode) || exit 1