]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/bmake/unit-tests/posix.exp
Merge bmake-20151201
[FreeBSD/stable/10.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