Results for var-op-len.test.sh

statusdashbashmkshzshoshosh_ALT
pass 253588
ok 111000
N-I 404000
BUG 120300
total888888
casedashbashmkshzshoshosh_ALTdescription
0pass pass pass pass pass pass String length
1N-I pass N-I pass pass pass Unicode string length (UTF-8)
detailsdetails
2N-I pass N-I pass pass pass Unicode string length (spec/testdata/utf8-chars.txt)
detailsdetails
3N-I BUG N-I BUG pass pass String length with incomplete utf-8
detailsdetailsdetailsdetails
4N-I BUG N-I BUG pass pass String length with invalid utf-8 continuation bytes
detailsdetailsdetailsdetails
5pass pass pass pass pass pass Length of undefined variable
6ok pass pass pass pass pass Length of undefined variable with nounset
details
7BUG ok ok BUG pass pass Length operator can't be followed by test operator
detailsdetailsdetailsdetails
31 passed, 3 OK, 8 not implemented, 6 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash1 Unicode string length (UTF-8)

stdout:
9
stderr:
mksh1 Unicode string length (UTF-8)

stdout:
4
stderr:
dash2 Unicode string length (spec/testdata/utf8-chars.txt)

stdout:
13
stderr:
mksh2 Unicode string length (spec/testdata/utf8-chars.txt)

stdout:
13
stderr:
dash3 String length with incomplete utf-8

stdout:
0
1
2
3
4
5
6
7
8
9
10
11
12
13
stderr:
bash3 String length with incomplete utf-8

stdout:
0
1
2
3
3
4
5
6
5
6
7
8
9
7
stderr:
mksh3 String length with incomplete utf-8

stdout:
0
1
2
3
4
5
6
7
8
9
10
11
12
13
stderr:
zsh3 String length with incomplete utf-8

stdout:
0
1
2
3
3
4
5
6
5
6
7
8
9
7
stderr:
dash4 String length with invalid utf-8 continuation bytes

stdout:
7
8
9
10
11
12
13
14
15
16
17
18
19
20
20
stderr:
bash4 String length with invalid utf-8 continuation bytes

stdout:
1
2
3
4
4
5
6
7
6
7
8
9
10
8
8
stderr:
mksh4 String length with invalid utf-8 continuation bytes

stdout:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
14
stderr:
zsh4 String length with invalid utf-8 continuation bytes

stdout:
1
2
3
4
4
5
6
7
6
7
8
9
10
8
8
stderr:
dash6 Length of undefined variable with nounset

stdout:
stderr: 
dash: 2: undef: parameter not set
dash7 Length operator can't be followed by test operator

stdout:
0
0
3
stderr:
bash7 Length operator can't be followed by test operator

stdout:
stderr: 
bash: line 1: ${#x-default}: bad substitution
bash: line 4: ${#x-default}: bad substitution
bash: line 7: ${#x-default}: bad substitution
mksh7 Length operator can't be followed by test operator

stdout:
stderr: 
mksh: <stdin>[1]: ${#x-default}: bad substitution
zsh7 Length operator can't be followed by test operator

stdout:
7
0
3
stderr: