diff --git a/tests/p_yum/yum_remove_pkg_test.sh b/tests/p_yum/yum_remove_pkg_test.sh new file mode 100755 index 0000000..ca1a38f --- /dev/null +++ b/tests/p_yum/yum_remove_pkg_test.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# Author: Athmane Madjoudj + +t_Log "Running $0 - yum remove package test." + +# Install zsh pkg +t_InstallPackage zsh + +yum -d0 -y remove zsh && \ +rpm -q zsh | grep -q 'package zsh is not installed' + +t_CheckExitStatus $?