diff --git a/tests/probes/rpmverifypackage/test_probes_rpmverifypackage.sh b/tests/probes/rpmverifypackage/test_probes_rpmverifypackage.sh index f4179e063..475ebf0b3 100755 --- a/tests/probes/rpmverifypackage/test_probes_rpmverifypackage.sh +++ b/tests/probes/rpmverifypackage/test_probes_rpmverifypackage.sh @@ -11,6 +11,8 @@ . $builddir/tests/test_common.sh +[ -f /etc/os-release ] && . /etc/os-release + set -e -o pipefail set -x @@ -79,7 +81,9 @@ function test_probes_rpmverifypackage_noepoch { test_init +if [[ $ID_LIKE != *"suse"* ]]; then test_run "test_probes_rpmverifypackage_epoch" test_probes_rpmverifypackage_epoch +fi test_run "test_probes_rpmverifypackage_noepoch" test_probes_rpmverifypackage_noepoch test_exit