summaryrefslogtreecommitdiff
path: root/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py')
-rw-r--r--utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py b/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
new file mode 100644
index 000000000000..357089d4899b
--- /dev/null
+++ b/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
@@ -0,0 +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()