This is an archive of the discontinued LLVM Phabricator instance.

[lit] Fix order of checks in shtest-shell.py test
ClosedPublic

Authored by modocache on Jul 27 2017, 9:18 AM.

Details

Summary

An expectation in utils/lit/tests/Inputs/shtest-shell/redirects.txt
expects that first a string printed to stdout is seen, and then a
string printed to stderr. Add flush() calls to ensure that stdout is
printed before stderr, as expected.

Event Timeline

modocache created this revision.Jul 27 2017, 9:18 AM
modocache updated this revision to Diff 108488.Jul 27 2017, 9:22 AM
modocache edited the summary of this revision. (Show Details)

Update commit message

rnk accepted this revision.Jul 27 2017, 9:48 AM

lgtm

This revision is now accepted and ready to land.Jul 27 2017, 9:48 AM
modocache closed this revision.Jul 27 2017, 9:51 AM