1 #!/bin/bash
2 #
3 # Tests for pipelines.
4
5 ### Basic
6 { echo one; echo two; } | tac
7 # stdout-json: "two\none\n"
8
9 ### |&
10 tests/stdout_stderr.py |& cat
11 # stdout-json: "STDERR\nSTDOUT\n"
12 # N-I dash/mksh stdout-json: ""