First attempt to support multiple components
This commit is contained in:
parent
d9f5b1efa6
commit
928e44fe35
2 changed files with 5 additions and 11 deletions
|
|
@ -5,9 +5,6 @@ description: |
|
|||
contact: Petr Sklenar <psklenar@redhat.com>
|
||||
test: ./runtest.sh
|
||||
framework: beakerlib
|
||||
recommend:
|
||||
- bind
|
||||
- bind-utils
|
||||
duration: 15m
|
||||
enabled: true
|
||||
tag:
|
||||
|
|
@ -18,14 +15,12 @@ tag:
|
|||
link:
|
||||
- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1578128
|
||||
adjust:
|
||||
- recommend+:
|
||||
- bind
|
||||
- require+:
|
||||
- bind-utils
|
||||
environment+:
|
||||
PACKAGE: bind
|
||||
when: component == bind
|
||||
- recommend+:
|
||||
- bind9-next
|
||||
- require+:
|
||||
- bind9-next-utils
|
||||
environment+:
|
||||
PACKAGE: bind9-next
|
||||
|
|
|
|||
|
|
@ -28,13 +28,12 @@
|
|||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="bind"
|
||||
: ${PACKAGE:="bind"}
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm $PACKAGE
|
||||
rlAssertRpm bind-utils
|
||||
cat /etc/resolv.conf
|
||||
rlAssertRpm $PACKAGE-utils
|
||||
rlRun "cat /etc/resolv.conf"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue