From 516e3f60e4987db9e8575e879905fb78a798032c Mon Sep 17 00:00:00 2001 From: John Johansen Date: Sat, 6 Feb 2010 20:08:51 -0800 Subject: [PATCH] update change_hat tests for correct error codes on AppArmor 2.5 --- tests/regression/subdomain/changehat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regression/subdomain/changehat.sh b/tests/regression/subdomain/changehat.sh index 04ed9f71d..e7b110ea7 100755 --- a/tests/regression/subdomain/changehat.sh +++ b/tests/regression/subdomain/changehat.sh @@ -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