]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - contrib/bmake/unit-tests/posix.exp
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
[FreeBSD/releng/10.3.git] / contrib / bmake / unit-tests / posix.exp
1 Posix says we should execute the command as if run by system(3)
2 Expect 'Hello,' and 'World!'
3 Hello,
4 World!
5 a command
6 a command prefixed by '+' executes even with -n
7 another command
8 make -n
9 echo a command
10 echo "a command prefixed by '+' executes even with -n"
11 a command prefixed by '+' executes even with -n
12 echo another command
13 make -n -j1
14 { echo a command 
15 } || exit $?
16 echo "a command prefixed by '+' executes even with -n"
17 a command prefixed by '+' executes even with -n
18 { echo another command 
19 } || exit $?
20 Now we expect an error...
21 *** Error code 1 (continuing)
22 `all' not remade because of errors.
23 exit status 0