[PATCH] Check that package globs install more than just the first package.
David Shea
dshea at redhat.com
Tue Feb 3 12:42:31 UTC 2015
---
tests/kickstart_tests/packages-and-groups-1.ks | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/kickstart_tests/packages-and-groups-1.ks b/tests/kickstart_tests/packages-and-groups-1.ks
index 24b6c93..a862fbf 100644
--- a/tests/kickstart_tests/packages-and-groups-1.ks
+++ b/tests/kickstart_tests/packages-and-groups-1.ks
@@ -77,6 +77,13 @@ if [[ \$? != 0 ]]; then
shutdown -h now
fi
+# Make sure that more than just emacs and its dependencies were installed.
+count=\$(rpm -qa emacs\* | wc -l)
+if [[ \$count -lt 50 ]]; then
+ echo '*** emacs glob was not fully installed' > /root/RESULT
+ shutdown -h now
+fi
+
# Testing #4 - ibus stuff should not be installed.
rpm -qa ibus\*
if [[ \$? == 0 ]]; then
--
2.1.0
More information about the anaconda-patches
mailing list