Sign in
coral
/
busybox
/
refs/heads/release-chef
/
.
/
shell
/
ash_test
/
ash-parsing
/
groups_and_keywords2.tests
blob: ab33b909f77b10892d55696486939e655ae573ec [
file
] [
log
] [
blame
] [
edit
]
# This is an error
(
eval
'if() { echo; }'
)
echo
Fail
:
$
?
# ^^^^^^ bash prints 1, but interactively it sets $? = 2
# we print 2
# This is an error, and it aborts in script
if
()
{
echo
;
}
echo
Not
reached