# Test file format 1 - one or more tests, each specifying its input. # # OPTIONAL WHITESPACE/#COMMENT # COMMAND LINE # OPTIONAL <<< INPUT # OPTIONAL >>> OUTPUT/REGEX # OPTIONAL >>>2 STDERR/REGEX # >>>= STATUS/REGEX # 0 OR MORE ADDITIONAL TESTS # # The command line and exit status check are required. # stdout/stderr are not checked implicitly. # Comment & whitespace lines before and after tests are ignored. cat <<< A >>> A >>>2 >>>= 0 cat <<< A >>> A >>>2 >>>= 0 #