From: Thomas Weißschuh Date: Wed, 26 Apr 2023 10:15:58 +0000 (+0200) Subject: mount: (tests) skip test if test_enosys is nonfunctional X-Git-Tag: v2.39~46^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f8c17bc1ac6fdec6dd4892811c2d78123046d10;p=thirdparty%2Futil-linux.git mount: (tests) skip test if test_enosys is nonfunctional Signed-off-by: Thomas Weißschuh --- 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"