diff --git a/tests/p_podman/00_install_podman.sh b/tests/p_podman/00_install_podman.sh index b6e1cae..5f2b76d 100755 --- a/tests/p_podman/00_install_podman.sh +++ b/tests/p_podman/00_install_podman.sh @@ -1,5 +1,11 @@ #!/bin/bash # Author: Carlos Rodriguez-Fernandez -t_Log "Running $0 -installing podman." +t_Log "Running $0 - installing podman." + +if [ "$centos_ver" -lt 8 ] ; then + t_Log "SKIP $0: only install in centos stream 8 or greater" + exit 0 +fi + t_InstallPackage podman diff --git a/tests/p_podman/10_podman_tests.sh b/tests/p_podman/10_podman_tests.sh index 9dacf08..32c61c9 100755 --- a/tests/p_podman/10_podman_tests.sh +++ b/tests/p_podman/10_podman_tests.sh @@ -3,6 +3,11 @@ t_Log "Running $0 - podman tests" +if [ "$centos_ver" -lt 8 ] ; then + t_Log "SKIP $0: only run on centos stream 8 or greater" + exit 0 +fi + tests_in_order=( "podman version" "podman info"