diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-03-21 12:42:46 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-03-26 04:20:16 +0100 |
commit | 233e3c96318db8111d8a7f5f649265cc9ecb5b27 (patch) | |
tree | 1f2ed3a6b4078e533fd27c382c1a17d9bee7af69 /selftest/selftesthelpers.py | |
parent | d3cd9f1575af18a6765a6b6a31811c9976f9c11e (diff) | |
download | samba-233e3c96318db8111d8a7f5f649265cc9ecb5b27.tar.gz |
selftest: Remove print_smbtorture4_version and smbtorture4_possible check
smbtorture is now always the same version as the rest of Samba, and is strictly required.
Andrew Bartlett
Change-Id: I89d9c52275477177fa8a89050920ff8a2fec9288
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar 26 04:20:16 CET 2014 on sn-devel-104
Diffstat (limited to 'selftest/selftesthelpers.py')
-rw-r--r-- | selftest/selftesthelpers.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py index cdbe9751f31..40e38aab8b1 100644 --- a/selftest/selftesthelpers.py +++ b/selftest/selftesthelpers.py @@ -210,21 +210,6 @@ smbtorture4_options = [ ] + get_env_torture_options() -def print_smbtorture4_version(): - """Print the version of Samba smbtorture4 comes from. - - :return: Whether smbtorture4 was successfully run - """ - try: - sub = subprocess.Popen([smbtorture4, "-V"], stdout=sys.stderr) - except OSError, e: - if e.errno == errno.ENOENT: - return False - raise - sub.communicate("") - return (sub.returncode == 0) - - def plansmbtorture4testsuite(name, env, options, target, modname=None): if modname is None: modname = "samba4.%s" % name |