From 67a851a05074d2ffd72d54a482a72859e8377b2f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 27 Apr 2012 12:49:14 +1000 Subject: selftest: Remove silly space before unit test name When we have no description, there is no need for a leading space here Andrew Bartlett --- source3/selftest/tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3') 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) -- cgit