minor cleanups

This commit is contained in:
The MMGen Project 2024-03-10 14:43:33 +00:00
commit cd23bf20d4
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
8 changed files with 17 additions and 13 deletions

View file

@ -1049,7 +1049,7 @@ if __name__ == '__main__':
if cfg.pause:
set_restore_term_at_exit()
from mmgen.exception import TestSuiteException,TestSuiteFatalException,TestSuiteSpawnedScriptException
from mmgen.exception import TestSuiteSpawnedScriptException
try:
tr = CmdTestRunner(data_dir,trash_dir)
@ -1061,7 +1061,7 @@ if __name__ == '__main__':
if tr.daemon_started:
stop_test_daemons(network_id)
tr.warn_skipped()
die(1,'\ntest.py exiting at user request')
die(1,yellow('\ntest.py exiting at user request'))
except TestSuiteSpawnedScriptException as e:
# if spawned script is not running under exec_wrapper, output brief error msg:
if os.getenv('MMGEN_EXEC_WRAPPER'):