Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [RFC PATCH v2 0/2] Shell: Add TST_TEST_DATA and TST_TEST_DATA_IFS
@ 2018-05-16 16:18 Petr Vorel
  2018-05-16 16:18 ` [LTP] [RFC PATCH v2 1/2] tst_test.sh: " Petr Vorel
  2018-05-16 16:18 ` [LTP] [RFC PATCH v2 2/2] net/{stress, virt}: Use " Petr Vorel
  0 siblings, 2 replies; 8+ messages in thread
From: Petr Vorel @ 2018-05-16 16:18 UTC (permalink / raw)
  To: ltp

Hi,

changes v1->v2:
* renamed variables to TST_TEST_DATA and TST_TEST_DATA_IFS (Cyril)
* replace split with IFS by split with while & cut (Cyril)
* TST_TESTFUNC_DATA can be used with TST_CNT
* iteration/sequence number is in $1, data are in $2
* For consistency the test number is now passed also to functions as the
'$1' in tests using $TST_CNT in separate functions (so that
TST_TEST_DATA is always passed as the '$2'). This is also updated in doc.
* improved doc

Petr Vorel (2):
  tst_test.sh: Add TST_TEST_DATA and TST_TEST_DATA_IFS
  net/{stress,virt}: Use TST_TEST_DATA and TST_TEST_DATA_IFS

 doc/test-writing-guidelines.txt                 | 74 ++++++++++++++++++++++---
 lib/newlib_tests/Makefile                       | 19 -------
 testcases/lib/tst_test.sh                       | 22 ++++++--
 testcases/network/stress/dccp/dccp_ipsec.sh     |  5 +-
 testcases/network/stress/dccp/dccp_ipsec_vti.sh |  5 +-
 testcases/network/stress/ipsec/ipsec_lib.sh     |  3 +-
 testcases/network/stress/sctp/sctp_ipsec.sh     |  6 +-
 testcases/network/stress/sctp/sctp_ipsec_vti.sh |  7 +--
 testcases/network/stress/tcp/tcp_ipsec.sh       |  6 +-
 testcases/network/stress/tcp/tcp_ipsec_vti.sh   |  5 +-
 testcases/network/stress/udp/udp_ipsec.sh       |  7 +--
 testcases/network/stress/udp/udp_ipsec_vti.sh   |  7 +--
 12 files changed, 100 insertions(+), 66 deletions(-)
 delete mode 100644 lib/newlib_tests/Makefile

-- 
2.16.3


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

end of thread, other threads:[~2018-05-22 19:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-16 16:18 [LTP] [RFC PATCH v2 0/2] Shell: Add TST_TEST_DATA and TST_TEST_DATA_IFS Petr Vorel
2018-05-16 16:18 ` [LTP] [RFC PATCH v2 1/2] tst_test.sh: " Petr Vorel
2018-05-16 16:22   ` Petr Vorel
2018-05-22 10:42   ` Cyril Hrubis
2018-05-22 19:37     ` Petr Vorel
2018-05-16 16:18 ` [LTP] [RFC PATCH v2 2/2] net/{stress, virt}: Use " Petr Vorel
2018-05-16 16:20   ` Petr Vorel
2018-05-17 14:10   ` Petr Vorel

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