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:
parent
7c1a884396
commit
3eb5cf2914
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user