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:
@@ -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()
|
||||
|
@@ -1 +1 @@
|
||||
{'flags': 'crfail', 'opts' : '--link-remap'}
|
||||
{'opts' : '--link-remap'}
|
||||
|
Reference in New Issue
Block a user