1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

selftest: Prevent error about unfinished test command when using --list.

This commit is contained in:
Jelmer Vernooij 2011-11-27 21:07:07 +01:00
parent 7c1a884396
commit 3eb5cf2914

View File

@ -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)