diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-11-27 19:58:30 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-11-30 22:58:04 +0100 |
commit | 64cfb79cd5428bb0bdae5e6a2d5eb4e5d5626725 (patch) | |
tree | e35057691c70ff0375d8117250d9b0068363a480 /source4/selftest | |
parent | 4a9235f903cc25628cb4a46aec845763b55c4b26 (diff) | |
download | samba-64cfb79cd5428bb0bdae5e6a2d5eb4e5d5626725.tar.gz samba-64cfb79cd5428bb0bdae5e6a2d5eb4e5d5626725.tar.bz2 samba-64cfb79cd5428bb0bdae5e6a2d5eb4e5d5626725.zip |
s4-testlist: Write diagnostic info to stderr, and purely test info to stdout.
Diffstat (limited to 'source4/selftest')
-rwxr-xr-x | source4/selftest/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index b2779d3a37..b998cfdbab 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -44,7 +44,7 @@ def plansmbtorturetestsuite(name, env, options, modname=None): def smb4torture_testsuites(prefix): return filter(lambda x: x.startswith(prefix), smb4torture_testsuite_list) -subprocess.call([smb4torture, "-V"]) +subprocess.call([smb4torture, "-V"], stdout=sys.stderr) bbdir = os.path.join(srcdir(), "testprogs/blackbox") @@ -58,7 +58,7 @@ if os.getenv("SELFTEST_QUICK"): torture_options.append("--option=torture:quick=yes") smb4torture += " " + " ".join(torture_options) -print "OPTIONS %s" % " ".join(torture_options) +print >>sys.stderr, "OPTIONS %s" % " ".join(torture_options) # Simple tests for LDAP and CLDAP for options in ['-U"$USERNAME%$PASSWORD" --option=socket:testnonblock=true', '-U"$USERNAME%$PASSWORD"', '-U"$USERNAME%$PASSWORD" -k yes', '-U"$USERNAME%$PASSWORD" -k no', '-U"$USERNAME%$PASSWORD" -k no --sign', '-U"$USERNAME%$PASSWORD" -k no --encrypt', '-U"$USERNAME%$PASSWORD" -k yes --encrypt', '-U"$USERNAME%$PASSWORD" -k yes --sign']: |