diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-11-15 13:53:02 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-11-15 13:53:02 +0000 |
commit | 3b06627f00ba4621011383e0fab0b0ba5d4e4645 (patch) | |
tree | 6336123ec7fc95dc5732a3d0241304f1a8b847ce /testsuite/build_farm/basicsmb-preexec.test | |
parent | 6c0dafc0c020826be770116e170c2c67b260c769 (diff) | |
download | samba-3b06627f00ba4621011383e0fab0b0ba5d4e4645.tar.gz samba-3b06627f00ba4621011383e0fab0b0ba5d4e4645.tar.bz2 samba-3b06627f00ba4621011383e0fab0b0ba5d4e4645.zip |
Updates to the build farm tests:
- Get valid/invalid users working
- Test preexec, preexec close
Andrew Bartlett
(This used to be commit 36441899e61a711b8fe03ec7b6f95973b1e69fc5)
Diffstat (limited to 'testsuite/build_farm/basicsmb-preexec.test')
-rw-r--r-- | testsuite/build_farm/basicsmb-preexec.test | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/build_farm/basicsmb-preexec.test b/testsuite/build_farm/basicsmb-preexec.test new file mode 100644 index 0000000000..bc87723700 --- /dev/null +++ b/testsuite/build_farm/basicsmb-preexec.test @@ -0,0 +1,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_fail +(test_listfilesauth_should_deny $mode) || exit 1 + |