aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/indent/shell.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/indent/shell.sh b/test/indent/shell.sh
index e3619057d6e..14f67744ff2 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -54,6 +54,17 @@ filter_3 () # bug#17842
54 grep -v "^," | sort -t, -k2,2 54 grep -v "^," | sort -t, -k2,2
55} 55}
56 56
57foo | bar | {
58 toto
59}
60
61grep -e "^$userregexp:" /etc/passwd | cut -d : -f 1 | while read user ; do
62 print -u2 "user=$user" # bug#18031
63 sudo -U $user -ll | while read line ; do
64 :
65 done
66done
67
57echo -n $(( 5 << 2 )) 68echo -n $(( 5 << 2 ))
58# This should not be treated as a heredoc (bug#12770). 69# This should not be treated as a heredoc (bug#12770).
592 702