summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-02-27 00:52:30 -0800
committerJeremy Allison <jra@samba.org>2020-02-27 19:34:36 +0000
commitcb37caaa56ad9bac0df3092f64c9b0b08f4b3a9b (patch)
tree03666fbf5dd77934ec96ea78d4fd38f6dea22e0a /source4
parentbb5cf6747624d11a2fcab19bf20322ca2acba007 (diff)
downloadsamba-cb37caaa56ad9bac0df3092f64c9b0b08f4b3a9b.tar.gz
selftest: Run libsmbclient with and without unix extensions
The libsmbclient readdir tests are broken just for the unix extension case. For example they assume our "map archive" behaviour. This will have to be parameterized once unix extensions become better implemented in libsmbclient Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Feb 27 19:34:36 UTC 2020 on sn-devel-184
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/tests.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index ba33cfceab4..5796f828bdd 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -373,7 +373,16 @@ def planlibsmbclienttest(name, testargs, proto):
testargs + [ "--option=torture:clientprotocol=%s" % proto],
'samba4')
plantestsuite_loadlist(
- "samba4.%s.%s" % (t, proto), env, " ".join(cmdarray))
+ "samba4.unix_ext.%s.%s" % (t, proto), env, " ".join(cmdarray))
+
+ plantestsuite_loadlist(
+ "samba4.non_unix_ext.%s.%s" % (t, proto),
+ env,
+ "(inject=\"${SERVERCONFFILE%/*}/global_inject.conf\"; " +
+ "echo \"unix extensions = no\" > ${inject} ; " +
+ " ".join(cmdarray) +
+ "; > ${inject})")
+
libsmbclient = smbtorture4_testsuites("libsmbclient.")
protocols = [ 'NT1', 'SMB3' ]