Fix handling of return code for system() calls (#16225)
authorJan Kotas <jkotas@microsoft.com>
Tue, 6 Feb 2018 19:11:47 +0000 (11:11 -0800)
committerGitHub <noreply@github.com>
Tue, 6 Feb 2018 19:11:47 +0000 (11:11 -0800)
commita3632298282f1c6a85c02b80d921075ee1af0d1e
tree9234474b10f1d116f0bc0dee84d44192c7adfd06
parentc67c29d6e226e4cca1f1efb4d57b7f498d58b534
Fix handling of return code for system() calls (#16225)

The value returned from system() is encoded bag of bits that gets
misinterpretted once it starts propagate through the system. Normalize
it to 0/1.
tests/scripts/run-corefx-tests.py