[LTP] [PATCH 0/6] [RFC,WIP] shell loader fixes + du01.sh rewrite

Petr Vorel pvorel@suse.cz
Fri Mar 13 15:25:54 CET 2026


Hi,

TODO / to be decided:
Should be setup run only once like in C API and tst_test.sh? If yes, it
should probably be run only on first iteration => see commit
"[WIP,RFC] tst_run.sh: Run setup() only once"


Petr Vorel (6):
  tst_run.sh: Fix passing arguments
  tst_env.sh: Backport common functions from tst_test.sh
  shell_loader: Start test count from 1
  run_shell_tcnt: Add test count also for test_all
  [WIP,RFC] tst_run.sh: Run setup() only once
  du01.sh: Rewrite into shell loader

 testcases/commands/du/du01.sh | 88 +++++++++++++++++++++--------------
 testcases/lib/tst_env.sh      | 71 ++++++++++++++++++++++++++++
 testcases/lib/tst_run.sh      |  6 +--
 testcases/lib/tst_run_shell.c | 12 ++---
 4 files changed, 134 insertions(+), 43 deletions(-)

-- 
2.51.0



More information about the ltp mailing list