File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,13 @@ export PODMAN_BINARY=/usr/bin/podman
22
22
# we want to install, especially when podman-next copr is involved
23
23
rm -f /etc/yum.repos.d/tag-repository.repo
24
24
25
- if [[ " $TEST_TYPE " == " e2e" ]]; then
26
- rpm -q container-selinux golang podman selinux-policy
25
+ for pkg in container-selinux crun golang podman podman-tests selinux-policy; do
26
+ if ! rpm -q " $pkg " ; then
27
+ continue
28
+ fi
29
+ done
27
30
31
+ if [[ " $TEST_TYPE " == " e2e" ]]; then
28
32
# /tmp is often unsufficient
29
33
export TMPDIR=/var/tmp
30
34
@@ -62,8 +66,6 @@ if [[ "$TEST_TYPE" == "e2e" ]]; then
62
66
fi
63
67
64
68
if [[ " $TEST_TYPE " == " system" ]]; then
65
- rpm -q container-selinux podman podman-tests selinux-policy
66
-
67
69
# Run podman system tests
68
70
bats /usr/share/podman/test/system/410-selinux.bats
69
71
bats /usr/share/podman/test/system/520-checkpoint.bats
You can’t perform that action at this time.
0 commit comments