summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index f0f0b8fdd3..6935e89e48 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -21,7 +21,6 @@
import os, sys
sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "../../selftest")))
from selftesthelpers import *
-import subprocess
samba3srcdir = srcdir() + "/source3"
scriptdir = os.path.join(samba3srcdir, "../script/tests")
@@ -47,9 +46,7 @@ torture_options.extend(get_env_torture_options())
smbtorture4 += " " + " ".join(torture_options)
-sub = subprocess.Popen("%s --version 2> /dev/null" % smbtorture4, stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True)
-sub.communicate("")
-smbtorture4_possible = (sub.returncode == 0)
+smbtorture4_possible = print_smbtorture4_version()
def plansmbtorturetestsuite(name, env, options, description=''):