summaryrefslogtreecommitdiffhomepage
path: root/tests/scripts/library.exp
blob: 5e6d1545f4f31f1a9c268c5e6b6ca6646b46ecf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
yes
hello, world
5
no #! line: run by the shell, args: a b
status 6
has #!: x
no #! line: run by the shell, args: c
via PATH 6
missing . file: 2
exec in cmdsub
exec redirection only in subshell
replaced
exit takes $?: 3
[status 0]