fi
}
+function ts_skip_qemu_user {
+ if [ "$QEMU_USER" == "1" ]; then
+ ts_skip "running under qemu-user emulation"
+ fi
+}
+
function ts_failed_subtest {
local msg="FAILED"
local ret=1
export LC_CTYPE='C'
. $TS_TOPDIR/functions.sh
+ts_skip_qemu_user # https://gitlab.com/qemu-project/qemu/-/issues/1248
ts_init "$*"
ts_check_test_command "$TS_CMD_COLCRT"
TS_DESC="regressions"
. $TS_TOPDIR/functions.sh
+ts_skip_qemu_user # https://gitlab.com/qemu-project/qemu/-/issues/1248
ts_init "$*"
ts_check_test_command "$TS_CMD_COLCRT"
TS_DESC="table"
. $TS_TOPDIR/functions.sh
+ts_skip_qemu_user # https://gitlab.com/qemu-project/qemu/-/issues/1248
ts_init "$*"
ts_check_test_command "$TS_CMD_COLUMN"
ts_check_test_command "$TS_CMD_KILL"
ts_check_test_command "$TS_HELPER_SIGRECEIVE"
+# SIGRTMAX-0 and SIGRTMAX-1 are not usable under QEMU
+ts_skip_qemu_user
+
. "$TS_SELF/kill_functions.sh"
all_ok=true
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
+ts_skip_qemu_user
ts_cd "$TS_OUTDIR"
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
ts_check_prog "sed"
+ts_skip_qemu_user
ts_cd "$TS_OUTDIR"
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
+ts_skip_qemu_user
ts_cd "$TS_OUTDIR"
. $TS_TOPDIR/functions.sh
ts_init "$*"
ts_skip_nonroot
+ts_skip_qemu_user
. $TS_SELF/lsfd-functions.bash
. $TS_TOPDIR/functions.sh
ts_init "$*"
ts_skip_nonroot
+ts_skip_qemu_user
. $TS_SELF/lsfd-functions.bash
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
+ts_skip_qemu_user
ts_cd "$TS_OUTDIR"
. "$TS_TOPDIR"/functions.sh
ts_init "$*"
ts_skip_nonroot
+ts_skip_qemu_user
ts_check_test_command "$TS_CMD_LSFD"
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