Blame tests/p_lsb/lsb_release_brand_test.sh

Athmane Madjoudj d51c12
#!/bin/sh
Athmane Madjoudj d51c12
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj d51c12
f49232
if (t_GetPkgRel basesystem | grep -q el9)
f49232
then
f49232
  t_Log "This is a C9 system. redhat-lsb not present. Skipping."
f49232
  t_CheckExitStatus 0
f49232
  exit $PASS
f49232
fi
f49232
d950e8
t_Log "Running $0 - LSB CentOS branding check."
2b3708
Athmane Madjoudj d51c12
lsb_release -i | grep -q "CentOS" && \
d950e8
lsb_release -d | grep -q "CentOS"
Athmane Madjoudj d51c12
Athmane Madjoudj d51c12
t_CheckExitStatus $?