test: Invoke dnf in the canonical way
test: Invoke dnf in the canonical way

Put options before the sub-command and use "upgrade" instead of "update".

Closes #2096
Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

mareklibra/cockpit,nmav/cockpit,jscotka/cockpit,mareklibra/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,vbatts/cockpit,FireDrunk/cockpit,arilivigni/cockpit,maxamillion/cockpit,andreasn/cockpit,sgallagher/cockpit,stefwalter/cockpit,xhad/cockpit,harishanand95/cockpit,dperpeet/cockpit,Scribery/cockpit,vanloswang/cockpit,garrett/cockpit,darioajr/cockpit,larskarlitski/cockpit,Armstrong1992/cockpit,SotolitoLabs/cockpit,Thermionix/cockpit,fridex/cockpit,firebitsbr/cockpit,xhad/cockpit,Scribery/cockpit,denysvitali/cockpit,matobet/cockpit,moraleslazaro/cockpit,sgallagher/cockpit,firebitsbr/cockpit,arilivigni/cockpit,dperpeet/cockpit,cockpituous/cockpit,fridex/cockpit,sgallagher/cockpit,arilivigni/cockpit,andreasn/cockpit,netzvieh/cockpit,evol262/cockpit,michalskrivanek/cockpit,andreasn/cockpit,evol262/cockpit,andreasn/cockpit,deryni/cockpit,firebitsbr/cockpit,firebitsbr/cockpit,maxamillion/cockpit,andreasn/cockpit,Scribery/cockpit,vanloswang/cockpit,fridex/cockpit,darioajr/cockpit,larskarlitski/cockpit,mvollmer/cockpit,Armstrong1992/cockpit,SotolitoLabs/cockpit,Thermionix/cockpit,SotolitoLabs/cockpit,jscotka/cockpit,matobet/cockpit,matobet/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,sgallagher/cockpit,denysvitali/cockpit,evol262/cockpit,FireDrunk/cockpit,larskarlitski/cockpit,martinpitt/cockpit,jscotka/cockpit,moolitayer/cockpit,harishanand95/cockpit,netzvieh/cockpit,maxamillion/cockpit,haiyangd/cockpit_view,harishanand95/cockpit,matobet/cockpit,arilivigni/cockpit,moolitayer/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,nmav/cockpit,larsu/cockpit,mareklibra/cockpit,petervo/cockpit,Thermionix/cockpit,netzvieh/cockpit,cockpituous/cockpit,zigitax/cockpit,arilivigni/cockpit,cockpit-project/cockpit,larsu/cockpit,zigitax/cockpit,haiyangd/cockpit_view,fridex/cockpit,FireDrunk/cockpit,darioajr/cockpit,evol262/cockpit,darioajr/cockpit,matobet/cockpit,matobet/cockpit,arilivigni/cockpit,cockpituous/cockpit,michalskrivanek/cockpit,jscotka/cockpit,martinpitt/cockpit,haiyangd/cockpit_view,petervo/cockpit,nmav/cockpit,deryni/cockpit,netzvieh/cockpit,xhad/cockpit,dperpeet/cockpit,stefwalter/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,garrett/cockpit,denysvitali/cockpit,Scribery/cockpit,cockpituous/cockpit,maxamillion/cockpit,denysvitali/cockpit,larsu/cockpit,mareklibra/cockpit,FireDrunk/cockpit,vanloswang/cockpit,harishanand95/cockpit,andreasn/cockpit,stefwalter/cockpit,netzvieh/cockpit,moolitayer/cockpit,denysvitali/cockpit,haiyangd/cockpit_view,mareklibra/cockpit,firebitsbr/cockpit,mvollmer/cockpit,petervo/cockpit,maxamillion/cockpit,Scribery/cockpit,moraleslazaro/cockpit,Thermionix/cockpit,arilivigni/cockpit,vbatts/cockpit,Scribery/cockpit,xhad/cockpit,michalskrivanek/cockpit,martinpitt/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,Armstrong1992/cockpit,vanloswang/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,nmav/cockpit,vanloswang/cockpit,moolitayer/cockpit,deryni/cockpit,larsu/cockpit,SotolitoLabs/cockpit,petervo/cockpit,petervo/cockpit,xhad/cockpit,vanloswang/cockpit,fridex/cockpit,deryni/cockpit,vbatts/cockpit,stefwalter/cockpit,sgallagher/cockpit,garrett/cockpit,harishanand95/cockpit,mvollmer/cockpit,cockpit-project/cockpit,martinpitt/cockpit,zigitax/cockpit,xhad/cockpit,cockpit-project/cockpit,darioajr/cockpit,garrett/cockpit,vbatts/cockpit,xhad/cockpit,Thermionix/cockpit,nmav/cockpit,moolitayer/cockpit,sgallagher/cockpit,jscotka/cockpit,deryni/cockpit,andreasn/cockpit,stefwalter/cockpit,stefwalter/cockpit,mareklibra/cockpit,larskarlitski/cockpit,vanloswang/cockpit,FireDrunk/cockpit,Thermionix/cockpit,deryni/cockpit,dperpeet/cockpit,michalskrivanek/cockpit,Armstrong1992/cockpit,dperpeet/cockpit,jscotka/cockpit,vbatts/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,larsu/cockpit,larskarlitski/cockpit,Scribery/cockpit,vbatts/cockpit,petervo/cockpit,zigitax/cockpit,Armstrong1992/cockpit,mareklibra/cockpit,zigitax/cockpit,moraleslazaro/cockpit,evol262/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,martinpitt/cockpit,netzvieh/cockpit,larsu/cockpit,fridex/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,petervo/cockpit,deryni/cockpit,dperpeet/cockpit,haiyangd/cockpit_view,garrett/cockpit,evol262/cockpit,harishanand95/cockpit