mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
update change_hat tests for correct error codes on AppArmor 2.5
This commit is contained in:
parent
db796ef3f1
commit
516e3f60e4
@ -43,8 +43,8 @@ runchecktest "NO CHANGEHAT (access sub file)" fail nochange $subfile
|
|||||||
|
|
||||||
# CHANGEHAT NO HATS TEST
|
# CHANGEHAT NO HATS TEST
|
||||||
runchecktest "CHAGEHAT (no hats, nochange)" pass nochange $file
|
runchecktest "CHAGEHAT (no hats, nochange)" pass nochange $file
|
||||||
runchecktest_errno ENOENT "CHANGEHAT (no hats, $file)" fail $subtest $file
|
runchecktest_errno ECHILD "CHANGEHAT (no hats, $file)" fail $subtest $file
|
||||||
runchecktest_errno ENOENT "CHANGEHAT (no hats, $subfile)" fail $subtest $subfile
|
runchecktest_errno ECHILD "CHANGEHAT (no hats, $subfile)" fail $subtest $subfile
|
||||||
|
|
||||||
# CHANGEHAT TEST
|
# CHANGEHAT TEST
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user