summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/selftest/tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 1a11081962..9535cbb71b 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -54,7 +54,11 @@ def smb4torture_testsuites(prefix):
def plansmbtorturetestsuite(name, env, options, description=''):
target = "samba3"
- modname = "%s.%s %s" % (target, name, description)
+ if description == '':
+ modname = "%s.%s" % (target, name)
+ else:
+ modname = "%s.%s %s" % (target, name, description)
+
cmdline = "%s $LISTOPT %s --target=%s %s" % (valgrindify(smb4torture), options, target, name)
if smb4torture_possible:
plantestsuite_loadlist(modname, env, cmdline)