Results for brace-expansion.test.sh

casebashmkshzshoshosh-byterundescription
0pass pass pass pass pass no expansion
1pass pass pass ok ok incomplete trailing expansion
detailsdetails
2pass pass pass ok ok partial leading expansion
detailsdetails
3pass pass pass ok ok partial leading expansion 2
detailsdetails
4pass pass ok ok ok } in expansion
detailsdetailsdetails
5pass pass pass pass pass single expansion
6pass pass pass pass pass double expansion
7pass pass pass pass pass triple expansion
8pass pass pass pass pass double expansion with single and double quotes
9pass pass pass pass pass expansion with mixed quotes
10pass pass pass pass pass expansion with simple var
11BUG pass pass pass pass double expansion with simple var -- bash bug
details
12pass pass pass pass pass double expansion with braced variable
13BUG pass pass pass pass double expansion with literal and simple var
details
14pass pass pass pass pass expansion with command sub
15pass pass pass pass pass expansion with arith sub
16pass pass pass pass pass double expansion with escaped literals
17BUG pass BUG pass pass { in expansion
detailsdetails
18pass pass pass pass pass quoted { in expansion
19pass pass pass pass pass Empty expansion
20pass ok ok pass pass Empty alternative
detailsdetails
21pass pass pass pass pass Empty alternative with empty string suffix
22pass pass pass pass pass nested brace expansion
23pass pass pass pass pass triple nested brace expansion
24pass pass pass pass pass nested and double brace expansion
25pass BUG pass pass pass expansion on RHS of assignment
details
26pass pass ok pass pass no expansion with RHS assignment
details
27pass pass pass pass pass Tilde expansion
28pass ok pass FAIL FAIL Tilde expansion with brace expansion
detailsdetailsdetails
29pass ok pass FAIL FAIL Two kinds of tilde expansion
detailsdetailsdetails
30pass pass pass pass pass Tilde expansion come before var expansion
31pass N-I pass FAIL FAIL Number range expansion
detailsdetailsdetails
32pass N-I ok FAIL FAIL Ascending number range expansion with negative step
detailsdetailsdetailsdetails
33pass N-I pass FAIL FAIL Descending number range expansion
detailsdetailsdetails
34pass N-I ok FAIL FAIL Descending number range expansion with negative step
detailsdetailsdetailsdetails
35pass N-I pass FAIL FAIL Char range expansion
detailsdetailsdetails
36pass N-I N-I FAIL FAIL Char range expansion with step
detailsdetailsdetailsdetails
37pass N-I N-I FAIL FAIL Descending char range expansion
detailsdetailsdetailsdetails
38pass N-I pass FAIL FAIL Fixed width number range expansion
detailsdetailsdetails
39pass N-I ok FAIL FAIL Inconsistent fixed width number range expansion
detailsdetailsdetailsdetails
40pass N-I pass FAIL FAIL Inconsistent fixed width number range expansion
detailsdetailsdetails
41pass ok ok pass pass Side effect in expansion
detailsdetails

150 passed, 19 ok, 12 known unimplemented, 5 known bugs, 12 failed, 0 skipped

Details on runs that didn't PASS

osh1 incomplete trailing expansion

stdout:
{a,b}_{
stderr:
osh-byterun1 incomplete trailing expansion

stdout:
{a,b}_{
stderr:
osh2 partial leading expansion

stdout:
}_{a,b}
stderr:
osh-byterun2 partial leading expansion

stdout:
}_{a,b}
stderr:
osh3 partial leading expansion 2

stdout:
{x}_{a,b}
stderr:
osh-byterun3 partial leading expansion 2

stdout:
{x}_{a,b}
stderr:
zsh4 } in expansion

stdout:
stderr: 
zsh: parse error near `}'
osh4 } in expansion

stdout:
{a,b}}
stderr:
osh-byterun4 } in expansion

stdout:
{a,b}}
stderr:
bash11 double expansion with simple var -- bash bug

stdout:
b_c b_d
stderr:
bash13 double expansion with literal and simple var

stdout:
_ _ b_c b_d
stderr:
bash17 { in expansion

stdout:
{a {b
stderr:
zsh17 { in expansion

stdout:
{a {b
stderr:
mksh20 Empty alternative

stdout:
['X', '', 'Y', '']
stderr:
zsh20 Empty alternative

stdout:
['X', '', 'Y', '']
stderr:
mksh25 expansion on RHS of assignment

stdout:
X Y
stderr:
zsh26 no expansion with RHS assignment

stdout:
stderr: 
zsh: parse error near `\n'
mksh28 Tilde expansion with brace expansion

stdout:
foo~/bar ~/bar
stderr:
osh28 Tilde expansion with brace expansion

[osh stdout] Expected 'foo~/bar /home/bob/bar\n', got 'foo~/bar ~/bar\n'

stdout:
foo~/bar ~/bar
stderr:
osh-byterun28 Tilde expansion with brace expansion

[osh-byterun stdout] Expected 'foo~/bar /home/bob/bar\n', got 'foo~/bar ~/bar\n'

stdout:
foo~/bar ~/bar
stderr:
mksh29 Two kinds of tilde expansion

stdout:
~/src ~root
stderr:
osh29 Two kinds of tilde expansion

[osh stdout] Expected '/home/bob/src /root\n', got '~/src ~root\n'

stdout:
~/src ~root
stderr:
osh-byterun29 Two kinds of tilde expansion

[osh-byterun stdout] Expected '/home/bob/src /root\n', got '~/src ~root\n'

stdout:
~/src ~root
stderr:
mksh31 Number range expansion

stdout:
-{1..8..3}-
stderr:
osh31 Number range expansion

[osh stdout] Expected '-1- -4- -7-\n', got '-{1..8..3}-\n'

stdout:
-{1..8..3}-
stderr:
osh-byterun31 Number range expansion

[osh-byterun stdout] Expected '-1- -4- -7-\n', got '-{1..8..3}-\n'

stdout:
-{1..8..3}-
stderr:
mksh32 Ascending number range expansion with negative step

stdout:
-{1..8..-3}-
stderr:
zsh32 Ascending number range expansion with negative step

stdout:
-7- -4- -1-
stderr:
osh32 Ascending number range expansion with negative step

[osh stdout] Expected '-1- -4- -7-\n', got '-{1..8..-3}-\n'

stdout:
-{1..8..-3}-
stderr:
osh-byterun32 Ascending number range expansion with negative step

[osh-byterun stdout] Expected '-1- -4- -7-\n', got '-{1..8..-3}-\n'

stdout:
-{1..8..-3}-
stderr:
mksh33 Descending number range expansion

stdout:
-{8..1..3}-
stderr:
osh33 Descending number range expansion

[osh stdout] Expected '-8- -5- -2-\n', got '-{8..1..3}-\n'

stdout:
-{8..1..3}-
stderr:
osh-byterun33 Descending number range expansion

[osh-byterun stdout] Expected '-8- -5- -2-\n', got '-{8..1..3}-\n'

stdout:
-{8..1..3}-
stderr:
mksh34 Descending number range expansion with negative step

stdout:
-{8..1..-3}-
stderr:
zsh34 Descending number range expansion with negative step

stdout:
-2- -5- -8-
stderr:
osh34 Descending number range expansion with negative step

[osh stdout] Expected '-8- -5- -2-\n', got '-{8..1..-3}-\n'

stdout:
-{8..1..-3}-
stderr:
osh-byterun34 Descending number range expansion with negative step

[osh-byterun stdout] Expected '-8- -5- -2-\n', got '-{8..1..-3}-\n'

stdout:
-{8..1..-3}-
stderr:
mksh35 Char range expansion

stdout:
-{a..e}-
stderr:
osh35 Char range expansion

[osh stdout] Expected '-a- -b- -c- -d- -e-\n', got '-{a..e}-\n'

stdout:
-{a..e}-
stderr:
osh-byterun35 Char range expansion

[osh-byterun stdout] Expected '-a- -b- -c- -d- -e-\n', got '-{a..e}-\n'

stdout:
-{a..e}-
stderr:
mksh36 Char range expansion with step

stdout:
-{a..e..2}- -{a..e..-2}-
stderr:
zsh36 Char range expansion with step

stdout:
-{a..e..2}- -{a..e..-2}-
stderr:
osh36 Char range expansion with step

[osh stdout] Expected '-a- -c- -e- -a- -c- -e-\n', got '-{a..e..2}- -{a..e..-2}-\n'

stdout:
-{a..e..2}- -{a..e..-2}-
stderr:
osh-byterun36 Char range expansion with step

[osh-byterun stdout] Expected '-a- -c- -e- -a- -c- -e-\n', got '-{a..e..2}- -{a..e..-2}-\n'

stdout:
-{a..e..2}- -{a..e..-2}-
stderr:
mksh37 Descending char range expansion

stdout:
-{e..a..2}- -{e..a..-2}-
stderr:
zsh37 Descending char range expansion

stdout:
-{e..a..2}- -{e..a..-2}-
stderr:
osh37 Descending char range expansion

[osh stdout] Expected '-e- -c- -a- -e- -c- -a-\n', got '-{e..a..2}- -{e..a..-2}-\n'

stdout:
-{e..a..2}- -{e..a..-2}-
stderr:
osh-byterun37 Descending char range expansion

[osh-byterun stdout] Expected '-e- -c- -a- -e- -c- -a-\n', got '-{e..a..2}- -{e..a..-2}-\n'

stdout:
-{e..a..2}- -{e..a..-2}-
stderr:
mksh38 Fixed width number range expansion

stdout:
-{01..03}-
stderr:
osh38 Fixed width number range expansion

[osh stdout] Expected '-01- -02- -03-\n', got '-{01..03}-\n'

stdout:
-{01..03}-
stderr:
osh-byterun38 Fixed width number range expansion

[osh-byterun stdout] Expected '-01- -02- -03-\n', got '-{01..03}-\n'

stdout:
-{01..03}-
stderr:
mksh39 Inconsistent fixed width number range expansion

stdout:
-{01..003}-
stderr:
zsh39 Inconsistent fixed width number range expansion

stdout:
-01- -02- -03-
stderr:
osh39 Inconsistent fixed width number range expansion

[osh stdout] Expected '-001- -002- -003-\n', got '-{01..003}-\n'

stdout:
-{01..003}-
stderr:
osh-byterun39 Inconsistent fixed width number range expansion

[osh-byterun stdout] Expected '-001- -002- -003-\n', got '-{01..003}-\n'

stdout:
-{01..003}-
stderr:
mksh40 Inconsistent fixed width number range expansion

stdout:
-{01..3}-
stderr:
osh40 Inconsistent fixed width number range expansion

[osh stdout] Expected '-01- -02- -03-\n', got '-{01..3}-\n'

stdout:
-{01..3}-
stderr:
osh-byterun40 Inconsistent fixed width number range expansion

[osh-byterun stdout] Expected '-01- -02- -03-\n', got '-{01..3}-\n'

stdout:
-{01..3}-
stderr:
mksh41 Side effect in expansion

stdout:
a-0 b-0 c-0
stderr:
zsh41 Side effect in expansion

stdout:
a-0 b-0 c-0
stderr: