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:
John Johansen 2007-01-05 21:14:59 +00:00
parent 604b97b271
commit 9d6ce46f3b

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 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