Blame tests/z_rpminfo/check-rpminfo.sh

0b568f
#!/bin/sh
0b568f
# Author: Brian Stinson <brian@bstinson.com>
0b568f
# Runner script for checking rpminfo so we can fail gracefully on EL5
0b568f
f49232
if [ "$centos_ver" -ge "8" ]; then
59d8ad
  t_Log "check-rpminfo.py not python3/dnf ready on c8 => SKIP"
59d8ad
  exit 0
59d8ad
fi
59d8ad
0b568f
if [[ $centos_ver != 5 ]] 
0b568f
then
0b568f
    python "$(dirname "$(readlink -f "$0")")/check-rpminfo.py"
ad3ebd
    t_CheckExitStatus $?
0b568f
else
0b568f
    echo "Skipped on CentOS 5"
0b568f
fi