[LTP] [PATCH v2 0/6] Add TST_FORMAT_DEVICE support

Petr Vorel pvorel@suse.cz
Thu Feb 10 17:27:33 CET 2022


Hi,

changes v1->v2:
* Replace $TST_DEFAULT_FS_TYPE with proper $TST_FS_TYPE initialization
  (Cyril)
* Redesing tst_mkfs() API (Cyril)
  We now parse only fs_type, the rest we pass to mkfs.* the same way we
  end up passing them on a command line.

Petr Vorel (6):
  tst_test.sh: Properly init $TST_FS_TYPE
  tst_test.sh: Redesing tst_mkfs() API
  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: Add missing shell variables

 doc/shell-test-api.txt                      | 37 +++++++++++++++++++--
 lib/newlib_tests/shell/tst_format_device.sh | 24 +++++++++++++
 testcases/commands/df/df01.sh               |  5 +--
 testcases/commands/mkfs/mkfs01.sh           |  2 +-
 testcases/lib/tst_test.sh                   | 28 ++++++++++------
 5 files changed, 79 insertions(+), 17 deletions(-)
 create mode 100755 lib/newlib_tests/shell/tst_format_device.sh

-- 
2.35.1



More information about the ltp mailing list