diff options
Diffstat (limited to 'llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py')
-rw-r--r-- | llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py b/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py index 5c1849870b1..357089d4899 100644 --- a/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py +++ b/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py @@ -1,4 +1,10 @@ #!/usr/bin/env python + import sys + + sys.stdout.write("a line on stdout\n") +sys.stdout.flush() + sys.stderr.write("a line on stderr\n") +sys.stderr.flush() |