freebsd-dev/contrib/bmake/unit-tests/opt-jobs-no-action.exp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
905 B
Plaintext
Raw Normal View History

begin explain
# .echoOff
# .echoTmpl
echo "false regular"
# .runChkTmpl
{ false regular
} || exit $?
# .echoOn
# .runChkTmpl
{ : silent
} || exit $?
# .echoOn
false ignore-errors
echo run despite the -n option
run despite the -n option
end explain
begin combined
silent=no always=no ignerr=no
# .echoOff
# .echoTmpl
echo "echo running"
# .runChkTmpl
{ echo running
} || exit $?
# .echoOn
silent=no always=no ignerr=yes
echo running; false
silent=no always=yes ignerr=no
echo running
running
silent=no always=yes ignerr=yes
echo running; false
running
*** Error code 1 (ignored)
silent=yes always=no ignerr=no
# .runChkTmpl
{ echo running
} || exit $?
# .echoOn
silent=yes always=no ignerr=yes
echo running; false
# .echoOn
silent=yes always=yes ignerr=no
echo running
running
silent=yes always=yes ignerr=yes
echo running; false
running
*** Error code 1 (ignored)
end combined
exit status 0