[LTP] [RFC PATCH v5 0/5] tst_test.sh: Add TST_TEST_DATA and TST_TEST_DATA_IFS + cleanup

Petr Vorel pvorel@suse.cz
Fri May 25 23:57:20 CEST 2018


Hi,

hope I replaced all variables, which are needed and updated all places
in docs.

changes v4->v5:
* Loop in TST_TEST_DATA with for loop instead of while. It's needed to
allow having empty parameter (needed for IPsec network tests). This
brought dependencies to: cut tr wc.
* Updated docs correctly.
* Added commit "tst_test.sh: Filter out commented out lines from warnings"
* Added commit "tst_test.sh: s/resm/res/"


Kind regards,
Petr

Petr Vorel (5):
  tst_test.sh: Hide "private" variables with "_tst_" prefix
  tst_test.sh: Warn about using "private" variable or function
  tst_test.sh: Filter out commented out lines from warnings
  tst_test.sh: s/resm/res/
  tst_test.sh: Add TST_TEST_DATA and TST_TEST_DATA_IFS

 doc/test-writing-guidelines.txt |  80 ++++++++++++++++++++++++++---
 testcases/lib/tst_test.sh       | 111 +++++++++++++++++++++++++---------------
 2 files changed, 143 insertions(+), 48 deletions(-)

-- 
2.16.3



More information about the ltp mailing list