X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/33017fafd17d722e82a268e9b272f27df261e09d..e9638b49e53127fe410fbc3689c1d781c61e09b7:/test/indent/shell.sh diff --git a/test/indent/shell.sh b/test/indent/shell.sh index 26a01dc3bd..74985a401d 100755 --- a/test/indent/shell.sh +++ b/test/indent/shell.sh @@ -1,9 +1,50 @@ #!/bin/sh +# -*- eval: (bug-reference-mode 1) -*- setlock -n /tmp/getmail.lock && echo getmail isn\'t running # adsgsdg +if foo; then + if bar; then + toto + fi +fi # bug#15613 + +case $X in + foo) + do_something + ;; + arg=*) # bug#12953 + do_something_else_based_on_arg + ;; + *) + default + ;; +esac + +{ # bug#17621 + foo1 && + foo2 && + bar +} + +echo -n $(( 5 << 2 )) +# This should not be treated as a heredoc (bug#12770). +2 + +foo='bar<<' # bug#11263 +echo ${foo%<&1` in #(