diff options
Diffstat (limited to 'test')
| -rwxr-xr-x | test/indent/shell.sh | 11 |
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 | ||
| 57 | foo | bar | { | ||
| 58 | toto | ||
| 59 | } | ||
| 60 | |||
| 61 | grep -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 | ||
| 66 | done | ||
| 67 | |||
| 57 | echo -n $(( 5 << 2 )) | 68 | echo -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). |
| 59 | 2 | 70 | 2 |