Extend basic test to check memory leaks
This commit is contained in:
parent
f2a6c8c99a
commit
fbbdb01e64
2 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ recommend:
|
|||
- lockdev
|
||||
- gcc
|
||||
- lockdev-devel
|
||||
- valgrind
|
||||
duration: 5m
|
||||
enabled: true
|
||||
tag:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@ rlJournalStart
|
|||
rlAssertGrep "Device is unlocked" lockdev.log
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "memory leaks check"
|
||||
rlRun "valgrind --leak-check=full --error-exitcode=1 ./test_lockdev"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue