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