Blame tests/0_common/20_upgrade_all.sh

Karanbir Singh 43deec
#!/bin/sh
Karanbir Singh 43deec
Karanbir Singh 43deec
echo 'Test that all updates can be applied to this machine cleanly'
Karanbir Singh 43deec
Karanbir Singh 43deec
Karanbir Singh 43deec
yum -d0 -y upgrade
Karanbir Singh 43deec
# yum -d0 -y upgrade > /dev/null 2>&1
Karanbir Singh 43deec
if [ $? -eq 0 ]; then 
Karanbir Singh 43deec
  echo ' PASS'
Karanbir Singh 43deec
else
Karanbir Singh 43deec
  echo ' Fail'
Karanbir Singh 43deec
  exit 1
Karanbir Singh 43deec
fi