diff options
author | Chet Ramey <chet.ramey@case.edu> | 2014-01-29 17:00:07 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2014-01-29 17:00:07 -0500 |
commit | b6e23235f28b1c85e18e9a2b7ba8c6b6c46aecbc (patch) | |
tree | 00fdd9c37c261d89c994fc1856252df719afec3a /tests/nameref.right | |
parent | 8581f42df9a1b1d848e2d4bdf3cc951b8d14b5be (diff) | |
download | bash-4.3-testing.tar.gz |
bash-4.3-rc2 overlaybash-4.3-rc2bash-4.3-testing
Diffstat (limited to 'tests/nameref.right')
-rw-r--r-- | tests/nameref.right | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/tests/nameref.right b/tests/nameref.right index e3251c54..26ae369b 100644 --- a/tests/nameref.right +++ b/tests/nameref.right @@ -111,8 +111,19 @@ final state: ref -> three, value: 3 ./nameref6.sub: line 2: typeset: x: nameref variable self references not allowed ./nameref6.sub: line 12: typeset: x: reference variable cannot be an array the -- 1 -./nameref6.sub: line 25: 42: invalid variable name for name reference 42 -- 0 -./nameref6.sub: line 40: 2: invalid variable name for name reference -./nameref6.sub: line 41: 2: invalid variable name for name reference +y -- 0 2 -- 0 +2 -- 0 +y -- 0 +bar +unset +inside +inside: one +outside: two +foo +local +./nameref8.sub: line 47: typeset: v: nameref variable self references not allowed +./nameref8.sub: line 54: warning: x: circular name reference +./nameref8.sub: line 55: warning: x: circular name reference +x = |