mmalik / tests / selinux

Forked from tests/selinux 6 years ago
Clone

db5f56d work around the dnf5 issue when --skip-broken is not recognized

Authored and Committed by mmalik a year ago
    work around the dnf5 issue when --skip-broken is not recognized
    
    The SELinux beaker library calls the yum/dnf command and the
    "--skip-broken" option is placed before the "install" word on the
    command line. Such command line executed on Fedora rawhide leads to
    the following error message:
    
      Unknown argument "--skip-broken" for command "dnf5". Add "--help" for
      more information about the arguments.
    
    In order to work around this issue, the "install" word was moved before
    the rest of options. Manual testing revealed that this approach works
    on Fedora rawhide.