d81e9f5093
This bug is also present in current dash Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
8 lines
238 B
Plaintext
Executable File
8 lines
238 B
Plaintext
Executable File
readonly bla=123
|
|
# Bare "eval bla=123" should abort ("eval" is a special builtin):
|
|
(eval bla=123 2>/dev/null; echo BUG)
|
|
echo One:$?
|
|
# "command BLTIN" disables "special-ness", should not abort:
|
|
command eval bla=123 2>/dev/null
|
|
echo One:$?
|