Blame tests/p_abrt/abrt_gpg_keys_test.sh

Athmane Madjoudj 6a3232
#!/bin/sh
Athmane Madjoudj 6a3232
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 6a3232
# Note: This was a known issue in CentOS 6.0
Athmane Madjoudj 6a3232
# See: http://bugs.centos.org/view.php?id=4993
Athmane Madjoudj 6a3232
Athmane Madjoudj 6a3232
t_Log "Running $0 -  check that abrt is using CentOS' gpg keys."
Athmane Madjoudj 6a3232
Athmane Madjoudj 27c878
if (t_GetPkgRel basesystem | grep -q el6)
Athmane Madjoudj 27c878
then
Athmane Madjoudj 27c878
    grep -q "RPM-GPG-KEY-CentOS" /etc/abrt/gpg_keys
Athmane Madjoudj 27c878
else 
Athmane Madjoudj 27c878
    echo "Skipped on CentOS 5"
Athmane Madjoudj 27c878
fi
Athmane Madjoudj 6a3232
Athmane Madjoudj 6a3232
t_CheckExitStatus $?