From 0f8c17bc1ac6fdec6dd4892811c2d78123046d10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Wed, 26 Apr 2023 12:15:58 +0200 Subject: [PATCH] mount: (tests) skip test if test_enosys is nonfunctional MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh --- tests/ts/mount/fallback | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ts/mount/fallback b/tests/ts/mount/fallback index 4f4f2b70c6..fe932ee78a 100755 --- a/tests/ts/mount/fallback +++ b/tests/ts/mount/fallback @@ -13,6 +13,8 @@ ts_check_test_command "$TS_CMD_FINDMNT" ts_check_test_command "$TS_CMD_LOSETUP" ts_skip_nonroot +"$TS_HELPER_ENOSYS" true 2> /dev/null +[ "$?" -eq "$TS_EXIT_NOTSUPP" ] && ts_skip "test_enosys does not work" test_mount_fallback() { ts_init_subtest "$1" -- 2.47.3