3
0

readonly1.tests 240 B

1234567
  1. readonly bla=123
  2. # Bare "eval bla=123" should abort ("eval" is a special builtin):
  3. (eval bla=123 2>/dev/null; echo BUG)
  4. echo Fail:$?
  5. # "command BLTIN" disables "special-ness", should not abort:
  6. command eval bla=123 2>/dev/null
  7. echo Fail:$?