[PATCH] Check that package globs install more than just the first package.
Chris Lumens
clumens at redhat.com
Tue Feb 3 14:45:34 UTC 2015
> 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
This should also be applied to tests/kickstart_tests/packages-and-groups-yum-1.ks.
- Chris
More information about the anaconda-patches
mailing list