FailedChanges

Summary

  1. [lit] Fix the return code for "not not" after evaluating "not" internally (details)
Commit d0b03ec401e8465b88893a4c56aeb0c787a54ad9 by martin
[lit] Fix the return code for "not not" after evaluating "not" internally

This fixes cases where "not not <command>" is supposed to return
only the error codes 0 or 1, but after efee57925c3f46c74c6697,
it passed the original error code through.

This was visible on AIX in the shtest-output-printing.py testcase,
where 'wc' returns 2, while it returns 1 on other platforms, and the
test required "not not" to normalize it to 1.
The file was modifiedllvm/utils/lit/tests/shtest-not.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/fail2.py
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-fail2.txt