From b28f4861ba024915af32290575968dcfb2c0ef48 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Sep 17 2011 22:01:27 +0000 Subject: Add rpm remove pkg test --- diff --git a/tests/p_rpm/rpm_remove_pkg_test.sh b/tests/p_rpm/rpm_remove_pkg_test.sh new file mode 100755 index 0000000..a18900e --- /dev/null +++ b/tests/p_rpm/rpm_remove_pkg_test.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# Author: Athmane Madjoudj + +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 $?