Blame tests/p_rpm/rpm_remove_pkg_test.sh
|
Athmane Madjoudj |
b28f48 |
#!/bin/sh
|
|
Athmane Madjoudj |
b28f48 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Athmane Madjoudj |
b28f48 |
|
|
Athmane Madjoudj |
b28f48 |
t_Log "Running $0 - rpm remove package test."
|
|
Athmane Madjoudj |
b28f48 |
|
|
Athmane Madjoudj |
b28f48 |
# Install zsh pkg
|
|
Athmane Madjoudj |
b28f48 |
t_InstallPackage zsh
|
|
Athmane Madjoudj |
b28f48 |
|
|
Athmane Madjoudj |
b28f48 |
rpm -e zsh && \
|
|
Athmane Madjoudj |
b28f48 |
rpm -q zsh | grep -q 'package zsh is not installed'
|
|
Athmane Madjoudj |
b28f48 |
|
|
Athmane Madjoudj |
b28f48 |
t_CheckExitStatus $?
|