2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 21:38:15 +00:00

update change_hat tests for correct error codes on AppArmor 2.5

This commit is contained in:
John Johansen 2010-02-06 20:08:51 -08:00
parent db796ef3f1
commit 516e3f60e4

View File

@ -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 ENOENT "CHANGEHAT (no hats, $file)" fail $subtest $file
runchecktest_errno ENOENT "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