bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_xorg-x11-server/01_Xorg-centos-branding-test.sh

Athmane Madjoudj ae756f
#!/bin/bash
Athmane Madjoudj ae756f
# Author: Athmane Madjoudj <athmane@fedoraproject.org>
Athmane Madjoudj ae756f
Athmane Madjoudj ae756f
# Ref: http://bugs.centos.org/view.php?id=6809
Athmane Madjoudj ae756f
t_Log "Running $0 - Testing that Xorg has been patched to use CentOS bugtracker for support"
Athmane Madjoudj ae756f
Athmane Madjoudj ae756f
if [ $centos_ver = 6 ]
Athmane Madjoudj ae756f
then
Christoph Galuschka f9815d
    X --wrong-arg   2>&1 | grep -q 'wiki.centos.org'
Athmane Madjoudj ae756f
else
Athmane Madjoudj ae756f
    t_Log "CentOS 5 Xorg does not need checking"
Athmane Madjoudj ae756f
fi
Athmane Madjoudj ae756f
Athmane Madjoudj ae756f
Athmane Madjoudj ae756f
t_CheckExitStatus $?
Athmane Madjoudj ae756f
Athmane Madjoudj ae756f