Skip to content

Commit

Permalink
tests: remove masked /sys/dev/block check
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Luap99 committed Jan 22, 2025
1 parent 1d0e730 commit c2e0fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c2e0fee

Please sign in to comment.