xref: /freebsd/contrib/bmake/unit-tests/posix-execution.exp (revision 759b177aecbfc49ebc900739954ac56b1aa5fc53)
1*759b177aSSimon J. Gerratyone-at-a-time: shell_variable is 'second'
2*759b177aSSimon J. Gerratyecho "prefixes: ignore errors"; exit 13
3*759b177aSSimon J. Gerratyprefixes: ignore errors
4*759b177aSSimon J. Gerraty*** Error code 13 (ignored)
5*759b177aSSimon J. Gerratyprefixes: no echo
6*759b177aSSimon J. Gerratyprefixes: always, no echo
7*759b177aSSimon J. Gerratyshell-e-option: before
8*759b177aSSimon J. Gerratyshell-e-option: after
9*759b177aSSimon J. Gerratyecho 'do-prefix-plus: a regular command'
10*759b177aSSimon J. Gerratyecho 'do-prefix-plus: prefixed by plus'
11*759b177aSSimon J. Gerratydo-prefix-plus: prefixed by plus
12*759b177aSSimon J. Gerratyecho 'do-prefix-plus: a regular command'
13*759b177aSSimon J. Gerraty{ echo 'do-prefix-plus: a regular command'
14*759b177aSSimon J. Gerraty} || exit $?
15*759b177aSSimon J. Gerratyecho 'do-prefix-plus: prefixed by plus'
16*759b177aSSimon J. Gerratydo-prefix-plus: prefixed by plus
17*759b177aSSimon J. Gerraty{ echo 'do-prefix-plus: a regular command'
18*759b177aSSimon J. Gerraty} || exit $?
19*759b177aSSimon J. Gerratydo-error-not-ignored: successful
20*759b177aSSimon J. Gerraty*** Error code 13 (continuing)
21*759b177aSSimon J. Gerraty
22*759b177aSSimon J. GerratyStop.
23*759b177aSSimon J. Gerratymake: stopped making "do-error-not-ignored" in unit-tests
24*759b177aSSimon J. Gerratyexit status 0
25