Blame tests/p_grub/grub_dir_layout_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=4995
|
|
Athmane Madjoudj |
6a3232 |
|
|
Athmane Madjoudj |
6a3232 |
t_Log "Running $0 - check that grub file layout is the same with upstream."
|
|
Athmane Madjoudj |
6a3232 |
|
|
Athmane Madjoudj |
6a3232 |
ARCH=`uname -m | sed 's/i6/i3/'`
|
|
Athmane Madjoudj |
6a3232 |
|
|
Athmane Madjoudj |
6a3232 |
[[ $( ls /usr/share/grub/ | wc -l ) -eq 1 ]] && \
|
|
Athmane Madjoudj |
6a3232 |
ls /usr/share/grub/ | grep -q "$ARCH-redhat"
|
|
Athmane Madjoudj |
6a3232 |
|
|
Athmane Madjoudj |
6a3232 |
t_CheckExitStatus $?
|