s3-test: Added net conf tests to tests.py
authorVicentiu Ciorbaru <cvicentiu@gmail.com>
Wed, 17 Aug 2011 14:58:59 +0000 (17:58 +0300)
committerMichael Adam <obnox@samba.org>
Mon, 22 Aug 2011 12:02:20 +0000 (14:02 +0200)
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>
source3/selftest/tests.py

index ba8d1ae83061fda2cbe071156ad4930e9e47501e..dba4713d4ced85dad4977811c670976df3c784d1 100755 (executable)
@@ -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"])