From: Thomas Weißschuh Date: Sun, 30 Apr 2023 18:50:21 +0000 (+0200) Subject: mount: (tests) also skip tests on private,slave propagation X-Git-Tag: v2.39~39^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bf0a331f11062bb852bb995aea1e0f5e59cd707;p=thirdparty%2Futil-linux.git mount: (tests) also skip tests on private,slave propagation On docker the mount propagation is "private,slave". Adapt the pattern to handle this. Signed-off-by: Thomas Weißschuh --- diff --git a/tests/ts/mount/subdir b/tests/ts/mount/subdir index c099200312..6443d34073 100755 --- a/tests/ts/mount/subdir +++ b/tests/ts/mount/subdir @@ -27,7 +27,7 @@ ts_skip_nonroot ts_check_losetup prop=$($TS_CMD_FINDMNT --task "$$" -n -o PROPAGATION "/") -[ "$prop" == "private" ] && ts_skip "unshared session" +[[ "$prop" == *"private"* ]] && ts_skip "unshared session" ts_device_init DEVICE=$TS_LODEV