]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
check: fix incorrect interrupt detection
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 22 Feb 2017 09:48:13 +0000 (13:48 +0400)
committerEryu Guan <eguan@redhat.com>
Wed, 22 Feb 2017 10:01:52 +0000 (18:01 +0800)
commitf64fb746abe608c57ef40618f603f035d74e932f
tree471754c08bbb4eca51b7ecd6afb44e750675f33a
parent96bb374aa3313f60d739f81afbf2392d76ac4738
check: fix incorrect interrupt detection

Currently "Interrupted!" string always appeared in check.log because
flag cleared at very end after summary was dumped already.  It looks
very strange, but it was broken from very beginning 27fba05e
(2001-01-15)

- update interrupt flag at the end of a section loop, but before _wrapup
- dump 'Interrupted' to stdout

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
check