kernel/selinux-testsuite: ensure test policy is fully unloaded
Since the testsuite now loads more policy modules, the `semodule -r test_policy` command is not enough for a full cleanup. Do `make -C policy unload instead`. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
parent
602c2e9fe6
commit
cf69ccdee8
1 changed files with 1 additions and 1 deletions
|
|
@ -477,10 +477,10 @@ rlJournalStart
|
|||
rlRun "pushd selinux-testsuite"
|
||||
# Submit report to beaker.
|
||||
rlFileSubmit "results.log" "selinux-testsuite.results.$(uname -r).txt"
|
||||
rlRun "$TS_ENV make -s -C policy unload $make_vars" 0-2
|
||||
rlRun "$TS_ENV make -s clean $make_vars" 0-2
|
||||
rlRun "popd"
|
||||
|
||||
rlRun "semodule -r test_policy" 0,1
|
||||
rlRun "sleep 5" 0
|
||||
rlRun "dmesg | grep -i \"rcu_sched detected stalls\"" 1
|
||||
rlFileRestore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue