From 6bf0a331f11062bb852bb995aea1e0f5e59cd707 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sun, 30 Apr 2023 20:50:21 +0200 Subject: [PATCH] mount: (tests) also skip tests on private,slave propagation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit On docker the mount propagation is "private,slave". Adapt the pattern to handle this. Signed-off-by: Thomas Weißschuh --- tests/ts/mount/subdir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3