container-selinux/test/podman-tests.sh
Lokesh Mandvekar 1cc567800a
TMT: enable podman reverse dependency tests
Resolves: RHEL-69441

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-12-31 16:43:49 +05:30

17 lines
347 B
Bash

#!/usr/bin/env bash
set -exo pipefail
cat /etc/redhat-release
if [[ "$(id -u)" -ne 0 ]];then
echo "Please run as superuser"
exit 1
fi
# Print versions of distro and installed packages
rpm -q bats container-selinux golang podman podman-tests selinux-policy
# Run podman system tests
bats /usr/share/podman/test/system/410-selinux.bats