[LTP] [PATCH v2 4/4] shell: Add test for TST_MOUNT_DEVICE=1

Petr Vorel pvorel@suse.cz
Thu May 12 13:43:50 CEST 2022


Hi all,

> +++ b/lib/newlib_tests/shell/tst_mount_device.sh
...
> +TST_MOUNT_DEVICE=1
> +TST_FS_TYPE=ext4
> +TST_TESTFUNC=test
> +TST_CNT=2
> +. tst_test.sh
Obviously loading should be later.
> +
> +test1()
> +{
> +	tst_res TPASS "device formatted"
> +}
> +
> +test2()
> +{
> +	EXPECT_PASS "grep '$TST_MNTPOINT $TST_FS_TYPE' /proc/mounts"
> +}
> +
Here.
I'll fix it before merge (if it's the only change requested).
> +tst_run

Kind regards,
Petr


More information about the ltp mailing list