mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
fix changehat tests to work with the new ECHILD error code returned by the module when a changehat is attempted against a profile with no hats
This commit is contained in:
parent
604b97b271
commit
9d6ce46f3b
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ runchecktest "NO CHANGEHAT (access sub file)" fail nochange $subfile
|
|||
|
||||
# CHANGEHAT NO HATS TEST
|
||||
runchecktest "CHAGEHAT (no hats, nochange)" pass nochange $file
|
||||
runchecktest_errno EPERM "CHANGEHAT (no hats, $file)" fail $subtest $file
|
||||
runchecktest_errno EPERM "CHANGEHAT (no hats, $subfile)" fail $subtest $subfile
|
||||
runchecktest_errno ECHILD "CHANGEHAT (no hats, $file)" fail $subtest $file
|
||||
runchecktest_errno ECHILD "CHANGEHAT (no hats, $subfile)" fail $subtest $subfile
|
||||
|
||||
# CHANGEHAT TEST
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue