projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git]
/
tests
/
appendop.tests
diff --git
a/tests/appendop.tests
b/tests/appendop.tests
index
7b61f3f
..
e4e52c2
100644
(file)
--- a/
tests/appendop.tests
+++ b/
tests/appendop.tests
@@
-12,7
+12,8
@@
x[4]+=1
echo ${x[@]}
# trickier cases
-
+# post-bash-4.2: bash understands += in environment assignments preceding
+# command names
a+=5 printenv a
echo $a
@@
-81,3
+82,6
@@
readonly x+=7
echo $x
x+=5
+
+${THIS_SH} ./appendop1.sub
+${THIS_SH} ./appendop2.sub