Set relevancy for valgrind in basic test
This commit is contained in:
parent
5650eccc86
commit
931688473e
2 changed files with 9 additions and 3 deletions
|
|
@ -15,6 +15,9 @@ enabled: true
|
|||
tag:
|
||||
- Tier1
|
||||
tier: '1'
|
||||
link:
|
||||
- verifies: https://issues.redhat.com/browse/RHEL-39379
|
||||
- verifies: https://issues.redhat.com/browse/RHEL-80167
|
||||
adjust:
|
||||
- enabled: false
|
||||
when: distro < rhel-7
|
||||
|
|
|
|||
|
|
@ -27,9 +27,12 @@ rlJournalStart
|
|||
rlAssertGrep "Device is unlocked" lockdev.log
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "memory leaks check"
|
||||
rlRun "valgrind --leak-check=full --error-exitcode=1 ./test_lockdev"
|
||||
rlPhaseEnd
|
||||
# memory leaks not fixed on rhel8/c8s and fc42 and older
|
||||
if rlIsRHEL '>=9.6' || rlIsCentOS '>=9' || rlIsFedora '>=43'; then
|
||||
rlPhaseStartTest "memory leaks check"
|
||||
rlRun "valgrind --leak-check=full --error-exitcode=1 ./test_lockdev"
|
||||
rlPhaseEnd
|
||||
fi
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue