Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [RFC PATCH 0/5] shell loader rewrite to support TST_SETUP
@ 2025-02-28 17:24 Petr Vorel
  2025-02-28 17:24 ` [LTP] [RFC PATCH 1/5] shell lib: Add support for test cleanup Petr Vorel
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Petr Vorel @ 2025-02-28 17:24 UTC (permalink / raw)
  To: ltp

Hi,

attempt to implement Cyril's suggestions:

https://lore.kernel.org/ltp/Z69OLsDLMzNw6RGt@yuki.lan/
https://lore.kernel.org/ltp/Z69QpMlrGVDwpz8w@yuki.lan/

Kind regards,
Petr

Cyril Hrubis (1):
  shell lib: Add support for test cleanup

Petr Vorel (4):
  lib: Allow test to have positional args
  shell: Move shell code into functions
  shell lib: Add basic support for test cleanup
  shell: Add shell_loader_setup_cleanup.sh test

 doc/developers/writing_tests.rst              |  2 +-
 include/tst_test.h                            |  5 +-
 lib/tst_test.c                                |  9 +++-
 testcases/kernel/mem/vma/vma05.sh             | 47 ++++++++++---------
 testcases/lib/run_tests.sh                    |  5 +-
 testcases/lib/tests/shell_loader.sh           | 19 ++++----
 .../lib/tests/shell_loader_all_filesystems.sh | 26 +++++-----
 .../lib/tests/shell_loader_brk_cleanup.sh     | 23 +++++++++
 testcases/lib/tests/shell_loader_c_child.sh   | 15 +++---
 testcases/lib/tests/shell_loader_cleanup.sh   | 23 +++++++++
 .../lib/tests/shell_loader_filesystems.sh     | 23 +++++----
 .../lib/tests/shell_loader_invalid_block.sh   |  7 ++-
 .../tests/shell_loader_invalid_metadata.sh    |  7 ++-
 testcases/lib/tests/shell_loader_kconfigs.sh  |  7 ++-
 .../lib/tests/shell_loader_no_metadata.sh     |  7 ++-
 .../lib/tests/shell_loader_setup_cleanup.sh   | 29 ++++++++++++
 .../lib/tests/shell_loader_supported_archs.sh |  7 ++-
 testcases/lib/tests/shell_loader_tags.sh      |  7 ++-
 testcases/lib/tests/shell_loader_tcnt.sh      |  7 ++-
 .../lib/tests/shell_loader_wrong_metadata.sh  |  7 ++-
 testcases/lib/tst_exec.sh                     | 19 ++++++++
 testcases/lib/tst_loader.sh                   |  5 +-
 testcases/lib/tst_run_shell.c                 | 16 +++++--
 23 files changed, 235 insertions(+), 87 deletions(-)
 create mode 100755 testcases/lib/tests/shell_loader_brk_cleanup.sh
 create mode 100755 testcases/lib/tests/shell_loader_cleanup.sh
 create mode 100755 testcases/lib/tests/shell_loader_setup_cleanup.sh
 create mode 100755 testcases/lib/tst_exec.sh

-- 
2.47.2


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2025-04-30 13:38 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 17:24 [LTP] [RFC PATCH 0/5] shell loader rewrite to support TST_SETUP Petr Vorel
2025-02-28 17:24 ` [LTP] [RFC PATCH 1/5] shell lib: Add support for test cleanup Petr Vorel
2025-03-04 12:57   ` Li Wang
2025-03-04 13:08     ` Petr Vorel
2025-03-04 13:15       ` Li Wang
2025-02-28 17:24 ` [LTP] [RFC PATCH 2/5] lib: Allow test to have positional args Petr Vorel
2025-02-28 17:43   ` Petr Vorel
2025-03-07 16:17   ` Cyril Hrubis
2025-03-10 10:23     ` Petr Vorel
2025-03-07 16:27   ` Cyril Hrubis
2025-03-10 10:16     ` Petr Vorel
2025-02-28 17:24 ` [LTP] [RFC PATCH 3/5] shell: Move shell code into functions Petr Vorel
2025-02-28 17:45   ` Petr Vorel
2025-02-28 17:24 ` [LTP] [RFC PATCH 4/5] shell lib: Add basic support for test cleanup Petr Vorel
2025-03-07 16:40   ` Cyril Hrubis
2025-03-10 10:27     ` Petr Vorel
2025-04-25 18:33     ` Petr Vorel
2025-04-30  8:52       ` Cyril Hrubis
2025-04-30  8:57         ` Cyril Hrubis
2025-04-30 11:47           ` Petr Vorel
2025-04-30 13:39             ` Cyril Hrubis
2025-02-28 17:24 ` [LTP] [RFC PATCH 5/5] shell: Add shell_loader_setup_cleanup.sh test Petr Vorel

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