summaryrefslogtreecommitdiff
path: root/tests/appendop.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/appendop.tests')
-rw-r--r--tests/appendop.tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/appendop.tests b/tests/appendop.tests
index be6c9716..e4e52c2f 100644
--- 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
@@ -83,3 +84,4 @@ echo $x
x+=5
${THIS_SH} ./appendop1.sub
+${THIS_SH} ./appendop2.sub