diff options
author | Jeremy Allison <jra@samba.org> | 2014-02-11 10:39:04 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-02-14 20:32:38 +0100 |
commit | 6763283ef3c512c1d3b92cbc532c33dd646d46fd (patch) | |
tree | f9d175132ccc26f46bd2ef6d1e661049741b5d87 | |
parent | 9cb8ae1de2649f5f7993c799ea7c655f167403d1 (diff) | |
download | samba-6763283ef3c512c1d3b92cbc532c33dd646d46fd.tar.gz |
s3: vfs_dirsort module.
Add raw.search torture test on a share definition with:
vfs objects = dirsort
https://bugzilla.samba.org/show_bug.cgi?id=10406
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 30cc8f41da58b87ff575860b7cde640520829923)
-rwxr-xr-x | selftest/target/Samba3.pm | 4 | ||||
-rwxr-xr-x | source3/selftest/tests.py | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 9a6c86f967..bc07403dcc 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1020,6 +1020,10 @@ sub provision($$$$$$) [tmp] path = $shrdir comment = smb username is [%U] +[tmpsort] + path = $shrdir + comment = Load dirsort module + vfs objects = dirsort acl_xattr fake_acls xattr_tdb streams_depot [tmpenc] path = $shrdir comment = encrypt smb username is [%U] diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 31a1b67485..85d67d6f8d 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -353,6 +353,11 @@ for t in tests: plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/aio -U$USERNAME%$PASSWORD', 'aio') plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD') plansmbtorture4testsuite(t, "plugin_s4_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD') + elif t == "raw.search": + plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD') +# test the dirsort module. + plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/tmpsort -U$USERNAME%$PASSWORD') + plansmbtorture4testsuite(t, "plugin_s4_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD') else: plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD') plansmbtorture4testsuite(t, "plugin_s4_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD') |