ts_skip_nonroot
ts_skip_qemu_user
+ts_skip_docker
# RTC interrupts are sometimes broken on GitHub Actions
if ts_is_virt "microsoft"; then
. "$TS_TOPDIR"/functions.sh
ts_init "$*"
ts_skip_nonroot
+ts_skip_docker
. "$TS_SELF"/lsfd-functions.bash
. "$TS_TOPDIR"/functions.sh
ts_init "$*"
ts_skip_nonroot
+ts_skip_docker
. "$TS_SELF/lsfd-functions.bash"
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
ts_check_native_byteorder
+ts_skip_docker
ts_cd "$TS_OUTDIR"
. "$TS_TOPDIR"/functions.sh
ts_init "$*"
ts_skip_nonroot
+ts_skip_docker
# losetup cannot find an unused loop device.
ts_skip_qemu_user
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
ts_check_native_byteorder
+ts_skip_docker
ts_cd "$TS_OUTDIR"
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
ts_check_native_byteorder
+ts_skip_docker
ts_cd "$TS_OUTDIR"
. "$TS_TOPDIR"/functions.sh
ts_init "$*"
ts_skip_qemu_user
+ts_skip_docker
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
ts_check_test_command "$TS_CMD_FINDMNT"
ts_skip_nonroot
+ts_skip_docker
MY_SOURCE="${TS_MOUNTPOINT}-src"
ts_check_test_command "$TS_CMD_FINDMNT"
ts_skip_nonroot
+ts_skip_docker
# Let's use the same mountpoint for all subtests
MNT=$TS_MOUNTPOINT
ts_check_test_command "$TS_CMD_FINDMNT"
ts_skip_nonroot
+ts_skip_docker
ts_fstab_add "none" "$TS_MOUNTPOINT" "tmpfs" "rw,nosuid,nodev,relatime"
ts_check_test_command "$TS_CMD_MOUNTPOINT"
ts_skip_nonroot
+ts_skip_docker
function mount_and_check {
# last arg must be an existing or to-be-mounted mountpoint