Test non-zero exit status