1. basicsmb.fns 2 3password=samba 4(test_smb_conf_setup && test_smbpasswd $password ) || exit 1 5 6rm -f $prefix/testdir/preexec_touch 7 8mode=PREEXEC 9(test_listfilesauth $mode) || exit 1 10 11if [ -f $prefix/testdir/preexec_touch ]; then 12 rm -f $prefix/testdir/preexec_touch 13else 14 exit 1; 15fi 16 17mode=PREEXEC_close 18(test_listfilesauth $mode) || exit 1 19 20if [ -f $prefix/testdir/preexec_touch ]; then 21 rm -f $prefix/testdir/preexec_touch 22else 23 exit 1; 24fi 25 26mode=PREEXEC_cl_fl 27(test_listfilesauth_should_deny $mode) || exit 1 28 29