Blame tests/0_common/20_upgrade_all.sh

Karanbir Singh 43deec
#!/bin/sh
Karanbir Singh 43deec
Karanbir Singh 2dd0be
t_Log "Running $0 - test that all updates can be applied to this machine cleanly"
Karanbir Singh 43deec
454cf9
# If CENTOSPLUS, and CentOS 7, and x86_64 change default kernel to kernel-plus
454cf9
if [ "$CENTOSPLUS" == "1" ] && [ "$centos_ver" == "7" ] && [ "$arch" == "x86_64" ] ; then
454cf9
  sed -i 's,DEFAULTKERNEL=.*,DEFAULTKERNEL=kernel-plus,g' /etc/sysconfig/kernel
454cf9
fi
454cf9
55a1f3
yum -d0 -y install deltarpm
Karanbir Singh 43deec
yum -d0 -y upgrade
Karanbir Singh 2dd0be
df2600
t_Log "Running $0 - listing all used/available packages"
df2600
df2600
yum list
df2600
c49572
t_CheckExitStatus $?