aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_stdoutstderr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_stdoutstderr.sh')
-rwxr-xr-xtest/test_stdoutstderr.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_stdoutstderr.sh b/test/test_stdoutstderr.sh
new file mode 100755
index 0000000..652c4f8
--- /dev/null
+++ b/test/test_stdoutstderr.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+echo "1:STDOUT"
+>&2 echo "2:STDERR"
+echo "3:STDOUT"
+>&2 echo "4:STDERR"
+>&2 echo "5:STDERR"
+echo "6:STDOUT"