Skip to content

Add TST_FORMAT_DEVICE support

Petr Vorel ltp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 14 repliesIn review
  2. v15 patches 11 repliesSuperseded

Changes in v2 from the cover letter

* 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tst_test.sh: Properly init $TST_FS_TYPEtestcases/commands/df/df01.sh testcases/commands/mkfs/mkfs01.sh testcases/lib/tst_test.sh+5 -71 reply
2/6tst_test.sh: Redesing tst_mkfs() APItestcases/lib/tst_test.sh+9 -71 reply
3/6tst_test.sh: Add $TST_FORMAT_DEVICE and related varsdoc/shell-test-api.txt testcases/lib/tst_test.sh+35 -24 replies
4/6df01.sh: Use TST_FORMAT_DEVICE=1testcases/commands/df/df01.sh+1 -21 reply
5/6shell: Add test for TST_FORMAT_DEVICE=1lib/newlib_tests/shell/tst_format_device.sh+24 -03 replies
6/6doc: Add missing shell variablesdoc/shell-test-api.txt+6 -04 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchYang XuCyril Hrubis
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6Reviwed-by
6/6A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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
Signature · 5 lines
2.35.1


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