[PATCH 2/2] Add some tests for kickstart and package selection for dnf.

David Shea dshea at redhat.com
Thu Jan 22 21:44:54 UTC 2015


On 01/21/2015 04:54 PM, Chris Lumens wrote:
> These are meant to verify that various ways of adding and removing packages
> and groups in the new DNF support.  Note that right now, they fail, because
> this support is currently broken.  We need to fix that.
> ---
>   tests/kickstart_tests/groups-and-envs-2.ks     | 99 ++++++++++++++++++++++++++
>   tests/kickstart_tests/groups-and-envs-2.sh     | 56 +++++++++++++++
>   tests/kickstart_tests/packages-and-groups-1.ks | 92 ++++++++++++++++++++++++
>   tests/kickstart_tests/packages-and-groups-1.sh | 56 +++++++++++++++
>   4 files changed, 303 insertions(+)
>   create mode 100644 tests/kickstart_tests/groups-and-envs-2.ks
>   create mode 100755 tests/kickstart_tests/groups-and-envs-2.sh
>   create mode 100644 tests/kickstart_tests/packages-and-groups-1.ks
>   create mode 100755 tests/kickstart_tests/packages-and-groups-1.sh
>
>
What about a case for installing a group and removing a package from 
said group? You did mention in IRC how annoying this is to detect after 
the fact. robotics-suite looks like a good candidate for the test, since 
it's specific enough that most of the packages in there are not listed 
in any other group, so almost everything listed there would work as a 
sentinel package.


More information about the anaconda-patches mailing list