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
Pablo Greco 25a1fb
if [ "$centos_ver" -lt 8 ];then
Pablo Greco 25a1fb
  yum -d0 -y install deltarpm
Pablo Greco 25a1fb
fi
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 $?