summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-10-30 23:10:25 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2012-10-30 23:10:25 -0400
commit3618df4590230a7321aea685705eda63bf47116b (patch)
tree2d757a4d6e3ab41a2523888fddccb52e3a06bc67 /test
parentb08b6da7fe21922d7e8838847cd065c88597b191 (diff)
downloademacs-3618df4590230a7321aea685705eda63bf47116b.tar.gz
* lisp/progmodes/sh-script.el (sh--inside-noncommand-expression):
Rename from sh--inside-arithmetic-expression, handle more cases. Fixes: debbugs:11263
Diffstat (limited to 'test')
-rwxr-xr-xtest/indent/shell.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/indent/shell.sh b/test/indent/shell.sh
index 0636e62a062..6f3447c3aa9 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -9,6 +9,11 @@ echo -n $(( 5 << 2 ))
# This should not be treated as a heredoc (bug#12770).
2
+foo='bar<<' # bug#11263
+echo ${foo%<<aa} # bug#11263
+echo $((1<<8)) # bug#11263
+echo $[1<<8] # bug#11263
+
declare -a VERSION
for i in $(ls "$PREFIX/sbin") ; do
echo -e $N')' $i