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_rpm/rpm_remove_pkg_test.sh

16 lines
289 B

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