Blame tests/p_bash/bash_version_info_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=5158
|
|
Athmane Madjoudj |
6a3232 |
|
|
Athmane Madjoudj |
6a3232 |
t_Log "Running $0 - check that bash version info is the same with upstream."
|
|
Athmane Madjoudj |
6a3232 |
|
|
Athmane Madjoudj |
6a3232 |
ARCH=`uname -m | sed 's/i6/i3/'`
|
|
Athmane Madjoudj |
6a3232 |
bash --version | grep -q "$ARCH-redhat-linux-gnu"
|
|
Athmane Madjoudj |
6a3232 |
|
|
Athmane Madjoudj |
6a3232 |
t_CheckExitStatus $?
|