Skip to content

Commit

Permalink
tests/kola: make podman pasta test clean up
Browse files Browse the repository at this point in the history
Since this is a non-exclusive test let's clean up a little bit and
at least not leave the container hanging around. This caused a conflict
with the selinux.file-context-policy-match test because there were
some directories in container storage that restorecon was warning
about.
  • Loading branch information
dustymabe committed Oct 15, 2024
1 parent b93ec42 commit 98e8cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kola/podman/rootless-pasta-networking
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -xeuo pipefail
runascoreuserscript='#!/bin/bash
set -euxo pipefail
# Just a basic test that uses pasta network and sets the gateway
podman run -i --net=pasta:--mtu,1500 quay.io/fedora/fedora:40 bash <<"EOF"
podman run -i --rm --net=pasta:--mtu,1500 quay.io/fedora/fedora:40 bash <<"EOF"
set -euxo pipefail
# Verify the mtu got set to 1500. No /sbin/ip so just use /sys/class/net/<nic>/mtu
cat /sys/class/net/e*/mtu | grep 1500
Expand Down

0 comments on commit 98e8cb8

Please sign in to comment.