diff options
author | Björn Baumbach <bb@sernet.de> | 2020-07-20 16:49:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-12-17 13:59:38 +0000 |
commit | bcfce0ecd3153d158f712ff548a1ccd005031bc8 (patch) | |
tree | ab76625eb07d01608e8d04de52f795256188aed1 /source4 | |
parent | 3e9f0e97255de1b4235c4dca6912635386328746 (diff) | |
download | samba-bcfce0ecd3153d158f712ff548a1ccd005031bc8.tar.gz |
selftest: add tests for smb notify, using the a special share
That share will get the "honor change notify privilege = yes" option
once it's implemented. For now it's marked as knownfail.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/selftest/tests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 9dc2df44bc4..bc6bdb484ed 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -481,6 +481,14 @@ for t in smbtorture4_testsuites("dlz_bind9."): planpythontestsuite("nt4_dc_smb1", "samba.tests.libsmb") +planpythontestsuite("ad_member", "samba.tests.smb-notify", + environ={'USERNAME':'$DC_USERNAME', + 'PASSWORD':'$DC_PASSWORD', + 'USERNAME_UNPRIV':'alice', + 'PASSWORD_UNPRIV':'Secret007', + 'STRICT_CHECKING':'0', + 'NOTIFY_SHARE':'notify_priv'}) + # Blackbox Tests: # tests that interact directly with the command-line tools rather than using # the API. These mainly test that the various command-line options of commands |