Skip to content

Commit c2e0fee

Browse files
committed
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] containers/common#2278 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
1 parent 1d0e730 commit c2e0fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ _EOF
971971

972972
run_buildah from --quiet --pull=false $WITH_POLICY_JSON alpine
973973
cid=$output
974-
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
974+
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
975975
if test -d $mask; then
976976
run_buildah run $cid ls $mask
977977
expect_output "" "Directories should be empty"

0 commit comments

Comments
 (0)