diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-11-27 21:07:07 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-11-30 22:58:04 +0100 |
commit | 3eb5cf2914de4ab185c91136fc2de115933a4a37 (patch) | |
tree | d9ac0e5d7d84190357a801a79840a8fb7f659b6e | |
parent | 7c1a88439664d8c19341cecddb428cac918042be (diff) | |
download | samba-3eb5cf2914de4ab185c91136fc2de115933a4a37.tar.gz samba-3eb5cf2914de4ab185c91136fc2de115933a4a37.tar.bz2 samba-3eb5cf2914de4ab185c91136fc2de115933a4a37.zip |
selftest: Prevent error about unfinished test command when using --list.
-rw-r--r-- | selftest/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/wscript b/selftest/wscript index 1509b1a5a4..7dd3ed265f 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -199,7 +199,7 @@ def cmd_testonly(opt): print("ERROR: test failed with exit code %d" % ret) sys.exit(ret) - if not os.path.exists(st_done): + if not Options.options.LIST and not os.path.exists(st_done): print("ERROR: test command failed to complete") sys.exit(1) |