Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
d2241f59022c38d4b171e56eea42e216ecccfdd9
/
.
/
shell
/
hush_test
/
hush-misc
/
exitcode2.tests
blob: 79a6ebd50e58b6976816f980f644b596837a7041 [
file
] [
log
] [
blame
]
# syntax error should return status 2
cat
>
test
.
sh
<<
EOF
)
EOF
chmod
+
x test
.
sh
$THIS_SH
./
test
.
sh
echo
Done
:
$
?
rm
-
f test
.
sh
# redirection error with special builtin should return status 1
(
eval
cat
<
does_not_exist
)
echo
Done
:
$
?