bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

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
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