[PATCH] taskschd/tests: Avoid a crash in a test after E_ACCESSDENIED