You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_yum/yum_remove_pkg_test.sh

13 lines
247 B

#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
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 $?