Since commit
e828630a16c7 ("libmount: recover from ENOSYS for the new API")
these work correctly.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
ts_check_test_command "$TS_CMD_FINDMNT"
ts_skip_nonroot
-ts_skip_qemu_user
MY_SOURCE="${TS_MOUNTPOINT}-src"
ts_check_test_command "$TS_CMD_FINDMNT"
ts_skip_nonroot
-ts_skip_qemu_user
# Let's use the same mountpoint for all subtests
MNT=$TS_MOUNTPOINT
ts_check_test_command "$TS_CMD_FINDMNT"
ts_skip_nonroot
-ts_skip_qemu_user
ts_fstab_add "none" "$TS_MOUNTPOINT" "tmpfs" "rw,nosuid,nodev,relatime"
ts_check_test_command "$TS_CMD_MOUNTPOINT"
ts_skip_nonroot
-ts_skip_qemu_user
function mount_and_check {
# last arg must be an existing or to-be-mounted mountpoint