Message ID | 20220609214223.4608-5-pvorel@suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | shell: nfs: $TST_ALL_FILESYSTEMS (.all_filesystems) | expand |
Hi all, FYI merged up to this patch, the rest (the actual $TST_ALL_FILESYSTEMS) will go in v3. Kind regards, Petr
diff --git a/lib/newlib_tests/shell/tst_mount_device.sh b/lib/newlib_tests/shell/tst_mount_device.sh new file mode 100755 index 000000000..c8f185626 --- /dev/null +++ b/lib/newlib_tests/shell/tst_mount_device.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (c) 2022 Petr Vorel <pvorel@suse.cz> + +TST_MOUNT_DEVICE=1 +TST_FS_TYPE=ext4 +TST_TESTFUNC=test +TST_CNT=2 + +test1() +{ + EXPECT_PASS "cd $TST_MNTPOINT" +} + +test2() +{ + EXPECT_PASS "grep '$TST_MNTPOINT $TST_FS_TYPE' /proc/mounts" +} + +. tst_test.sh +tst_run