2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

zdtm: fail if test with the crfail tag passes

Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
Andrei Vagin
2020-03-28 22:13:17 +03:00
parent 698f3a4dbd
commit 067a20c815
2 changed files with 3 additions and 1 deletions

View File

@@ -1735,6 +1735,8 @@ def do_run_test(tname, tdesc, flavs, opts):
t.stop()
cr_api.fini()
try_run_hook(t, ["--clean"])
if t.blocking():
raise test_fail_exc("unexpected success")
except test_fail_exc as e:
print_sep("Test %s FAIL at %s" % (tname, e.step), '#')
t.print_output()

View File

@@ -1 +1 @@
{'flags': 'crfail', 'opts' : '--link-remap'}
{'opts' : '--link-remap'}