File: format1.test

package info (click to toggle)
shelltestrunner 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 896 kB
  • sloc: haskell: 881; makefile: 60; sh: 1
file content (31 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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

#