[testActionManager] Remove unnecessary assertions.

getenv() doesn't set errono according to the man.