add tests/Sanity/dummy-test testcase
This commit is contained in:
parent
b92fdadc89
commit
a9c4c98887
9
tests/Sanity/dummy-test/main.fmf
Normal file
9
tests/Sanity/dummy-test/main.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
summary: dummy test
|
||||
component:
|
||||
- papi
|
||||
test: ./test.sh
|
||||
tier: 1
|
||||
framework: beakerlib
|
||||
require+:
|
||||
- papi
|
||||
duration: 5m
|
||||
18
tests/Sanity/dummy-test/test.sh
Executable file
18
tests/Sanity/dummy-test/test.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="papi"
|
||||
REQUIRES="$PACKAGE"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlShowRunningKernel
|
||||
rlAssertRpm --all
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "papi_avail"
|
||||
rlPhaseEnd
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
||||
Loading…
Reference in New Issue
Block a user