Skip to content

Commit

Permalink
Merge pull request #22352 from edsantiago/systest-prefetch
Browse files Browse the repository at this point in the history
(minor) prefetch systemd image before use
  • Loading branch information
openshift-merge-bot[bot] authored Apr 12, 2024
2 parents 0f24d6f + df69b36 commit e1ec17a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/system/030-run.bats
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ json-file | f
}

@test "podman run --tz with zoneinfo" {
_prefetch $SYSTEMD_IMAGE

# First make sure that zoneinfo is actually in the image otherwise the test is pointless
run_podman run --rm $SYSTEMD_IMAGE ls /usr/share/zoneinfo

Expand Down Expand Up @@ -1395,6 +1397,8 @@ search | $IMAGE |

# https://issues.redhat.com/browse/RHEL-14469
@test "podman run - /run must not be world-writable in systemd containers" {
_prefetch $SYSTEMD_IMAGE

run_podman run -d --rm $SYSTEMD_IMAGE /usr/sbin/init
cid=$output

Expand Down

0 comments on commit e1ec17a

Please sign in to comment.