bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_procinfo/0-install_procinfo.sh

Steve Barnes e801dc
#!/bin/bash
root 2bfd68
# Author: Steve Barnes (steve@echo.id.au)
Athmane Madjoudj 3a45f5
#         Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 5e4726
#	  Christoph Galuschka <christoph.galuschka@chello.at>
Christoph Galuschka 5e4726
Christoph Galuschka 5e4726
t_Log "Running $0 - attempting to install procinfo"
Steve Barnes e801dc
Athmane Madjoudj 3a45f5
if (t_GetPkgRel basesystem | grep -q el6)
Athmane Madjoudj 3a45f5
then
Christoph Galuschka 5e4726
   t_Log "It seems to be a CentOS 6.x system, this test will be disabled"
Athmane Madjoudj 3a45f5
   exit 0
Athmane Madjoudj 3a45f5
else
Athmane Madjoudj 3a45f5
   # ProcInfo Utility Package
Athmane Madjoudj 3a45f5
   t_InstallPackage procinfo
Athmane Madjoudj 3a45f5
fi