summaryrefslogtreecommitdiffhomepage
path: root/tests/scripts/cli-tool.exp
blob: 6d3e5d1ba7f2861ac5cc692701d5b4fdc4b3d650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
hello
[exit 0]
a b
a b
a b
[exit 0]
verbose=2 count=2 words=1
x
x
[exit 0]
[exit 0]
saved
saved
usage: tool [-v] [-n count] [-o file] word...
[exit 2]
tool: bad count: abc
[exit 2]
[exit 2]
-n
[exit 0]
[status 0]