summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-08-17 17:58:59 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 14:02:20 +0200
commit33de7ebcfcc6c6580f597d1d1b0005b4db924dbe (patch)
treeff639be462cb5f216110a1c3702c23f438b6c5bc
parent2c11d8f177bf6ae828b098644a4903e6e4bc1876 (diff)
downloadsamba-33de7ebcfcc6c6580f597d1d1b0005b4db924dbe.tar.gz
samba-33de7ebcfcc6c6580f597d1d1b0005b4db924dbe.tar.bz2
samba-33de7ebcfcc6c6580f597d1d1b0005b4db924dbe.zip
s3-test: Added net conf tests to tests.py
The tests are added as blackbox tests and they can be called with the wildcard source3.blackbox.net.*.conf with either 'local' or 'rpc' instead of '*' . Signed-off-by: Michael Adam <obnox@samba.org>
-rwxr-xr-xsource3/selftest/tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index ba8d1ae830..dba4713d4c 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -144,6 +144,12 @@ plantestsuite("samba3.blackbox.net.local.registry.roundtrip", "s3dc:local", [os.
plantestsuite("samba3.blackbox.net.rpc.registry.roundtrip", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_registry_roundtrip.sh"),
scriptdir, "$SMB_CONF_PATH", configuration, 'rpc'])
+plantestsuite("samba3.blackbox.net.local.conf", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_conf.sh"),
+ scriptdir, "$SMB_CONF_PATH", configuration,])
+plantestsuite("samba3.blackbox.net.rpc.conf", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_conf.sh"),
+ scriptdir, "$SMB_CONF_PATH", configuration, 'rpc'])
+
+
plantestsuite("samba3.blackbox.testparm", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_testparm_s3.sh"),
"$LOCAL_PATH"])