public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] shell test timeout handling
@ 2021-03-12 17:31 Petr Vorel
  2021-03-12 17:31 ` [LTP] [PATCH 1/3] tst_test.sh: Run cleanup also after test timeout Petr Vorel
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Petr Vorel @ 2021-03-12 17:31 UTC (permalink / raw)
  To: ltp

Hi,

changes before previous attempt [1]
* _tst_kill_test() (Cyril)
* added test timeout03.sh
* update trap message (Joerg)

NOTE: we have no way to print summary from _tst_do_exit if cleanup get
stuck, but IMHO there is no simple way how to solve it (we'd have to use
mapped memory to increment counter also in shell API as Cyril suggested)

[1] https://patchwork.ozlabs.org/project/ltp/patch/20210301220222.22705-7-pvorel@suse.cz/

Petr Vorel (3):
  tst_test.sh: Run cleanup also after test timeout
  test: Adding timeout03.sh for testing _tst_kill_test()
  zram: Increase timeout according to used devices

 lib/newlib_tests/shell/timeout03.sh           | 47 +++++++++++++++++++
 .../kernel/device-drivers/zram/zram_lib.sh    |  2 +
 testcases/lib/tst_test.sh                     | 25 ++++++++--
 3 files changed, 71 insertions(+), 3 deletions(-)
 create mode 100755 lib/newlib_tests/shell/timeout03.sh

-- 
2.30.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-04-07 17:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-12 17:31 [LTP] [PATCH 0/3] shell test timeout handling Petr Vorel
2021-03-12 17:31 ` [LTP] [PATCH 1/3] tst_test.sh: Run cleanup also after test timeout Petr Vorel
2021-04-07 12:28   ` Cyril Hrubis
2021-04-07 12:37     ` Petr Vorel
2021-03-12 17:32 ` [LTP] [PATCH 2/3] test: Adding timeout03.sh for testing _tst_kill_test() Petr Vorel
2021-04-07 12:30   ` Cyril Hrubis
2021-04-07 17:57     ` Petr Vorel
2021-03-12 17:32 ` [LTP] [PATCH 3/3] zram: Increase timeout according to used devices Petr Vorel
2021-03-15  5:23 ` [LTP] [PATCH 0/3] shell test timeout handling Li Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox