readonly2.tests 154 B

1234567
  1. unset a
  2. readonly a=A
  3. # external commands and builtins should behave the same:
  4. (exit 42); a=Z echo "Visible:$?"
  5. echo
  6. (exit 42); a=Z env echo "Visible:$?"