public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/3] shell: Introduce TST_TIMEOUT variable
@ 2019-09-19 13:50 Petr Vorel
  2019-09-19 13:50 ` [LTP] [PATCH v3 1/3] shell: Add tst_is_num() Petr Vorel
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Petr Vorel @ 2019-09-19 13:50 UTC (permalink / raw)
  To: ltp

Hi,

changes v2->v3:
* cast to int if awk is not available (Li) instead of TCONF
* actually round variable (with 0.5) (Clemens)
* fix variable description (Clemens)
* add 2 tests for TST_TIMEOUT (it'd be more useful to test
  LTP_TIMEOUT_MUL, but I'd wait for Christian's shell test
  patch [1] being merged)

NOTES:
There are a more changes in second patch, I kept them in the same commit
as it's related.
Current tests might not be much useful.

[1] https://patchwork.ozlabs.org/patch/1151766/

Petr Vorel (3):
  shell: Add tst_is_num()
  shell: Introduce TST_TIMEOUT variable, add checks
  net/if-mtu-change.sh: set TST_TIMEOUT

 doc/test-writing-guidelines.txt               | 89 ++++++++++++-------
 lib/newlib_tests/shell/timeout01.sh           | 13 +++
 lib/newlib_tests/shell/timeout02.sh           | 13 +++
 .../memcg/stress/memcg_stress_test.sh         |  2 +-
 testcases/lib/tst_test.sh                     | 49 +++++++++-
 .../network/stress/interface/if-mtu-change.sh |  4 +-
 6 files changed, 133 insertions(+), 37 deletions(-)
 create mode 100755 lib/newlib_tests/shell/timeout01.sh
 create mode 100755 lib/newlib_tests/shell/timeout02.sh

-- 
2.23.0


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

end of thread, other threads:[~2019-09-24 18:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-19 13:50 [LTP] [PATCH v3 0/3] shell: Introduce TST_TIMEOUT variable Petr Vorel
2019-09-19 13:50 ` [LTP] [PATCH v3 1/3] shell: Add tst_is_num() Petr Vorel
2019-09-19 13:50 ` [LTP] [PATCH v3 2/3] shell: Introduce TST_TIMEOUT variable, add checks Petr Vorel
2019-09-24 14:07   ` Cyril Hrubis
2019-09-24 16:20     ` Petr Vorel
2019-09-24 18:38     ` Petr Vorel
2019-09-19 13:50 ` [LTP] [PATCH v3 3/3] net/if-mtu-change.sh: set TST_TIMEOUT Petr Vorel
2019-09-20 13:48 ` [LTP] [PATCH v3 0/3] shell: Introduce TST_TIMEOUT variable Clemens Famulla-Conrad
2019-09-24  7:01   ` Li Wang

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