~mmach/netext73/busybox

« back to all changes in this revision

Viewing changes to shell/ash_test/ash-vars/readonly1.tests

  • Committer: mmach
  • Date: 2021-04-14 13:54:24 UTC
  • Revision ID: netbit73@gmail.com-20210414135424-8x3fxf716zs4wflb
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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:$?