Results for var-op-len.test.sh

casedashbashmkshzshoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass FAIL String length
details
1N-I pass N-I pass pass pass FAIL Unicode string length (UTF-8)
detailsdetailsdetails
2N-I pass N-I pass pass pass FAIL Unicode string length (spec/testdata/utf8-chars.txt)
detailsdetailsdetails
3N-I BUG N-I BUG pass pass FAIL String length with incomplete utf-8
detailsdetailsdetailsdetailsdetails
4N-I BUG N-I BUG pass pass FAIL String length with invalid utf-8 continuation bytes
detailsdetailsdetailsdetailsdetails
5pass pass pass pass pass pass FAIL Length of undefined variable
details
6ok pass pass pass pass pass pass Length of undefined variable with nounset
details

30 passed, 1 ok, 8 known unimplemented, 4 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 String length

[osh-byterun stdout] Expected '3\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash1 Unicode string length (UTF-8)

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

stdout:
4
stderr:
osh-byterun1 Unicode string length (UTF-8)

[osh-byterun stdout] Expected '3\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash2 Unicode string length (spec/testdata/utf8-chars.txt)

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

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

[osh-byterun stdout] Expected '7\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun3 String length with incomplete utf-8

[osh-byterun stdout] Expected '0\n1\n2\n-1\n3\n4\n-1\n-1\n5\n6\n-1\n-1\n-1\n7\n', got ''
[osh-byterun stderr] Expected 'osh warning: Incomplete UTF-8 character\nosh warning: Incomplete UTF-8 character\nosh warning: Incomplete UTF-8 character\nosh warning: Incomplete UTF-8 character\nosh warning: Incomplete UTF-8 character\nosh warning: Incomplete UTF-8 character\n', got 'Traceback (most recent call last):\n File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>\n from frontend import args\nImportError: No module named frontend\n'
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun4 String length with invalid utf-8 continuation bytes

[osh-byterun stdout] Expected '-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n-1\n', got ''
[osh-byterun stderr] Expected 'osh warning: Invalid start of UTF-8 character\nosh warning: Invalid start of UTF-8 character\nosh warning: Invalid start of UTF-8 character\nosh warning: Invalid UTF-8 continuation byte\nosh warning: Invalid start of UTF-8 character\nosh warning: Invalid start of UTF-8 character\nosh warning: Invalid UTF-8 continuation byte\nosh warning: Invalid UTF-8 continuation byte\nosh warning: Invalid start of UTF-8 character\nosh warning: Invalid start of UTF-8 character\nosh warning: Invalid UTF-8 continuation byte\nosh warning: Invalid UTF-8 continuation byte\nosh warning: Invalid UTF-8 continuation byte\nosh warning: Invalid start of UTF-8 character\nosh warning: Invalid start of UTF-8 character\n', got 'Traceback (most recent call last):\n File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>\n from frontend import args\nImportError: No module named frontend\n'
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun5 Length of undefined variable

[osh-byterun stdout] Expected '0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash6 Length of undefined variable with nounset

stdout:
stderr: 
_tmp/spec-bin/dash: 2: undef: parameter not set