Blame tests/p_yum/yum_remove_pkg_test.sh

Athmane Madjoudj 80c30b
#!/bin/sh
Athmane Madjoudj 80c30b
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 80c30b
Athmane Madjoudj 80c30b
t_Log "Running $0 - yum remove package test."
Athmane Madjoudj 80c30b
Athmane Madjoudj 80c30b
# Install zsh pkg
Athmane Madjoudj 80c30b
t_InstallPackage zsh
Athmane Madjoudj 80c30b
Athmane Madjoudj 80c30b
yum -d0 -y remove zsh && \
Athmane Madjoudj 80c30b
rpm -q zsh | grep -q 'package zsh is not installed'
Athmane Madjoudj 80c30b
Athmane Madjoudj 80c30b
t_CheckExitStatus $?