diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-27 12:49:14 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-27 14:51:05 +0200 |
commit | 67a851a05074d2ffd72d54a482a72859e8377b2f (patch) | |
tree | 619c9ed8ed9120faf82fc65824485aa3eb039b1b /source3 | |
parent | 34ffa6175bca1cee755e454c14683b7c826dd6c7 (diff) | |
download | samba-67a851a05074d2ffd72d54a482a72859e8377b2f.tar.gz samba-67a851a05074d2ffd72d54a482a72859e8377b2f.tar.bz2 samba-67a851a05074d2ffd72d54a482a72859e8377b2f.zip |
selftest: Remove silly space before unit test name
When we have no description, there is no need for a leading space here
Andrew Bartlett
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/selftest/tests.py | 6 |
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) |