From: Karel Zak Date: Thu, 27 Apr 2023 09:21:07 +0000 (+0200) Subject: tests: skip complex mount test on qemu X-Git-Tag: v2.39~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3be31a106c52e093928afbea2cddbdbe44cfb357;p=thirdparty%2Futil-linux.git tests: skip complex mount test on qemu Addresses: https://github.com/util-linux/util-linux/pull/2197 Signed-off-by: Karel Zak --- diff --git a/tests/ts/mount/complex b/tests/ts/mount/complex index 98c5715b09..9aa622255a 100755 --- a/tests/ts/mount/complex +++ b/tests/ts/mount/complex @@ -16,8 +16,10 @@ TS_DESC="complex" . $TS_TOPDIR/functions.sh ts_init "$*" -ts_check_test_command "$TS_CMD_MOUNT" ts_skip_nonroot +ts_skip_qemu_user + +ts_check_test_command "$TS_CMD_MOUNT" ts_check_losetup $TS_CMD_MOUNT --version | grep -q 'fd-based' || ts_skip "no fd-based API"