Skip to content

shell: Add tst_mount() helper

Petr Vorel ltp 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4shell: Add tst_mount() helperdoc/test-writing-guidelines.txt testcases/lib/tst_test.sh+32 -51 reply
1/4shell: Add tst_mount() helper+0 -00 replies
2/4ima, commands/{df,mkfs}: Use tst_mount()testcases/commands/df/df01.sh testcases/commands/mkfs/mkfs01.sh testcases/kernel/security/integrity/ima/tests/ima_setup.sh+19 -490 replies
3/4shell: Move mkfs.foo into tst_mkfs()testcases/commands/df/df01.sh testcases/kernel/security/integrity/ima/tests/ima_setup.sh testcases/lib/tst_test.sh+2 -80 replies
4/4shell: Use $TST_FS_TYPE and $TST_DEVICE in tst_mkfs()doc/test-writing-guidelines.txt testcases/commands/df/df01.sh testcases/kernel/security/integrity/ima/tests/ima_setup.sh +1 more+8 -40 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchCyril Hrubis
1/4A-b
1/4A-b
2/4A-b
3/4A-b
4/4A-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/4] shell: Add tst_mount() helper

Hi,

just single change in tst_mount(): it does not require $TST_FS_TYPE any more (it's optional). This was required by mkfs01.sh which has it's first run in runtest/commands without specifying filesystem. I guess this is valid testcase (testing some obscure fs e.g. some FUSE) which is not in runtest/commands + it also tests mkfs itself.

Kind regards,
Petr

Petr Vorel (4):
shell: Add tst_mount() helper
ima, commands/{df,mkfs}: Use tst_mount()
shell: Move mkfs.foo into tst_mkfs()
shell: Use $TST_FS_TYPE and $TST_DEVICE in tst_mkfs()

 doc/test-writing-guidelines.txt               | 16 +++++++---
 testcases/commands/df/df01.sh                 | 28 +++-------------
 testcases/commands/mkfs/mkfs01.sh             | 27 ++++------------
 .../security/integrity/ima/tests/ima_setup.sh | 14 +++-----
 testcases/lib/tst_test.sh                     | 32 ++++++++++++++++---
 5 files changed, 56 insertions(+), 61 deletions(-)
Signature · 1 line
2.21.0