[LTP] [PATCH 0/5] shell: Add TST_FORMAT_DEVICE support
Petr Vorel
pvorel@suse.cz
Wed Jan 26 19:12:05 CET 2022
Hi,
it's nice to sync with C API, but I don't expect that many tests would
need formatting device. The main reason is to preparation for
TST_ALL_FILESYSTEMS support (useful for NFS tests).
Kind regards,
Petr
Petr Vorel (5):
tst_test.sh: Add $TST_DEFAULT_FS_TYPE
tst_test.sh: tst_mkfs(): Add support for extra opts
tst_test.sh: Add $TST_FORMAT_DEVICE and related vars
df01.sh: Use TST_FORMAT_DEVICE=1
shell: Add test for TST_FORMAT_DEVICE=1
doc/shell-test-api.txt | 9 +++++++-
lib/newlib_tests/shell/tst_format_device.sh | 24 ++++++++++++++++++++
testcases/commands/df/df01.sh | 7 ++----
testcases/commands/mkfs/mkfs01.sh | 4 ++--
testcases/lib/tst_test.sh | 25 ++++++++++++---------
5 files changed, 51 insertions(+), 18 deletions(-)
create mode 100755 lib/newlib_tests/shell/tst_format_device.sh
--
2.34.1
More information about the ltp
mailing list