| #!/bin/bash |
| |
| |
| |
| if (t_GetPkgRel basesystem | grep -q el6) |
| then |
| t_Log It seems to be a CentOS 6.x system, this test will be disabled |
| exit 0 |
| else |
| t_Log "Running $0 - checking procinfo runs and returns non-zero exit status." |
| |
| PROCINFO=`which procinfo` |
| |
| [ "$PROCINFO" ] || { t_Log "Failed to find procinfo binary. Cannot continue."; exit $FAIL; } |
| |
| $PROCINFO &>/dev/null |
| |
| [ $? -eq 0 ] || { t_Log "Procinfo exited with non-zero status. That ain't good..."; exit $FAIL; } |
| |
| t_CheckExitStatus $? |
| |
| fi |