xref: /minix3/usr.bin/make/unit-tests/posix.exp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel SambucPosix says we should execute the command as if run by system(3)
2*0a6a1f1dSLionel SambucExpect 'Hello,' and 'World!'
3*0a6a1f1dSLionel SambucHello,
4*0a6a1f1dSLionel SambucWorld!
5*0a6a1f1dSLionel Sambuca command
6*0a6a1f1dSLionel Sambuca command prefixed by '+' executes even with -n
7*0a6a1f1dSLionel Sambucanother command
8*0a6a1f1dSLionel Sambucmake -n
9*0a6a1f1dSLionel Sambucecho a command
10*0a6a1f1dSLionel Sambucecho "a command prefixed by '+' executes even with -n"
11*0a6a1f1dSLionel Sambuca command prefixed by '+' executes even with -n
12*0a6a1f1dSLionel Sambucecho another command
13*0a6a1f1dSLionel Sambucmake -n -j1
14*0a6a1f1dSLionel Sambuc{ echo a command
15*0a6a1f1dSLionel Sambuc} || exit $?
16*0a6a1f1dSLionel Sambucecho "a command prefixed by '+' executes even with -n"
17*0a6a1f1dSLionel Sambuca command prefixed by '+' executes even with -n
18*0a6a1f1dSLionel Sambuc{ echo another command
19*0a6a1f1dSLionel Sambuc} || exit $?
20*0a6a1f1dSLionel SambucNow we expect an error...
21*0a6a1f1dSLionel Sambuc*** Error code 1 (continuing)
22*0a6a1f1dSLionel Sambuc`all' not remade because of errors.
23*0a6a1f1dSLionel Sambucexit status 0
24