mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
62 lines
905 B
Plaintext
62 lines
905 B
Plaintext
|
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
|