From 748d8f5310501bb585c9be1b261554ec690a3132 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 16 Aug 2012 08:37:54 +1000 Subject: s3-selftest: convert stream_depot vfstest driver into a subunit test This gives us our first automated coverage of the vfstest binary. We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett --- source3/selftest/tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/selftest') diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 945d26a673..d892b16042 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -33,6 +33,7 @@ net = binpath('net') smbtorture3 = binpath('smbtorture3') ntlm_auth = binpath('ntlm_auth3') dbwrap_tool = binpath('dbwrap_tool') +vfstest = binpath('vfstest') torture_options = [configuration, "--maximum-runtime=$SELFTEST_MAXTIME", "--basedir=$SELFTEST_TMPDIR", @@ -154,6 +155,8 @@ tests=["--ping", "--separator", "--allocate-uid", "--allocate-gid"] +plantestsuite("samba.vfstest.stream_depot", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/stream-depot/run.sh"), binpath("vfstest"), "$PREFIX", configuration]) + for options in ["--option=clientusespnego=no", " --option=clientntlmv2auth=no --option=clientlanmanauth=yes --max-protocol=LANMAN2", ""]: env = "s3dc" plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) %s" % (env, options), env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DC_USERNAME', '$DC_PASSWORD', smbclient, configuration, options]) -- cgit