[testActionManager] Reset errno before the test to avoid positive false.