From 2119c8da3cc406aaa48ef416125161b4a47c41bc Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 21 Jan 2025 18:52:15 +0100 Subject: [PATCH] tests: remove masked /sys/dev/block check The c/common defaults were changed to no longer mask this path[1]. As such we need to remove it from this test. [1] https://github.com/containers/common/pull/2278 Signed-off-by: Paul Holzinger --- tests/run.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run.bats b/tests/run.bats index fb54d256f..d007658b0 100644 --- a/tests/run.bats +++ b/tests/run.bats @@ -971,7 +971,7 @@ _EOF run_buildah from --quiet --pull=false $WITH_POLICY_JSON alpine cid=$output - for mask in /proc/acpi /proc/kcore /proc/keys /proc/latency_stats /proc/sched_debug /proc/scsi /proc/timer_list /proc/timer_stats /sys/dev/block /sys/devices/virtual/powercap /sys/firmware /sys/fs/selinux; do + for mask in /proc/acpi /proc/kcore /proc/keys /proc/latency_stats /proc/sched_debug /proc/scsi /proc/timer_list /proc/timer_stats /sys/devices/virtual/powercap /sys/firmware /sys/fs/selinux; do if test -d $mask; then run_buildah run $cid ls $mask expect_output "" "Directories should be empty"