container-selinux/test/podman-tests.sh
Lokesh Mandvekar 10c17202e8
container-selinux-4:2.235.0-2.el10
- fetch TMT tests and plan from upstream
- Resolves: RHEL-80817

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-03-04 17:02:11 +05:30

17 lines
356 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 podman podman-tests policycoreutils selinux-policy
# Run podman system tests
bats /usr/share/podman/test/system/410-selinux.bats