[LTP] [PATCH 0/8] shell: $TST_ALL_FILESYSTEMS (.all_filesystems)
Petr Vorel
pvorel@suse.cz
Thu May 12 21:45:49 CEST 2022
Hi,
.all_filesystems implementation for shell.
Motivation is to add .all_filesystems for shell NFS tests.
Now added to nfs07.sh (fast test).
It required to export tst_clear_device() for shell via tst_clear_device.c.
TODO: doc
NOTE: df01.sh and mkfs01.sh should probably be converted to use it.
Kind regards,
Petr
Petr Vorel (8):
tst_test.sh: Add $TST_MOUNT_DEVICE
df01.sh: Use TST_MOUNT_DEVICE=1
tst_test.sh: Improve pattern for allowed variables
shell: Add test for TST_MOUNT_DEVICE=1
shell: Add tst_clear_device
tst_test.sh: Add $TST_ALL_FILESYSTEMS
shell: Add test for TST_ALL_FILESYSTEMS=1
nfs07.sh: Use TST_ALL_FILESYSTEMS=1
doc/shell-test-api.txt | 3 +
lib/newlib_tests/shell/tst_all_filesystems.sh | 27 +++++
lib/newlib_tests/shell/tst_mount_device.sh | 21 ++++
testcases/commands/df/df01.sh | 5 +-
testcases/lib/.gitignore | 1 +
testcases/lib/Makefile | 2 +-
testcases/lib/tst_clear_device.c | 47 ++++++++
testcases/lib/tst_test.sh | 104 ++++++++++++------
testcases/network/nfs/nfs_stress/nfs07.sh | 2 +
9 files changed, 176 insertions(+), 36 deletions(-)
create mode 100755 lib/newlib_tests/shell/tst_all_filesystems.sh
create mode 100755 lib/newlib_tests/shell/tst_mount_device.sh
create mode 100644 testcases/lib/tst_clear_device.c
--
2.36.0
More information about the ltp
mailing list