Results for arith-context.test.sh

casebashmkshzshoshosh_ALTosh-byterundescription
0pass pass N-I pass pass FAIL Multiple right brackets inside expression
detailsdetails
1pass pass pass pass pass FAIL Slicing of string with constants
details
2pass pass pass pass pass FAIL Slicing of string with variables
details
3pass pass ok pass pass FAIL Array index on LHS of assignment
detailsdetails
4pass pass BUG FAIL FAIL FAIL Array index on LHS with spaces
detailsdetailsdetailsdetails
5pass pass ok pass pass FAIL Array index on LHS with indices
detailsdetails
6pass BUG BUG pass pass FAIL Slicing of string with expressions
detailsdetailsdetails
7pass BUG BUG pass pass FAIL Ambiguous colon in slice
detailsdetailsdetails
8pass pass pass pass pass FAIL Triple parens should be disambiguated
details
9pass pass pass pass pass FAIL Quadruple parens should be disambiguated
details
10pass N-I pass pass pass FAIL Alternative $[] syntax
detailsdetails

44 passed, 2 ok, 2 known unimplemented, 5 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

zsh0 Multiple right brackets inside expression

stdout:
stderr: 
osh-byterun0 Multiple right brackets inside expression

[osh-byterun stdout] Expected '2 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
osh-byterun1 Slicing of string with constants

[osh-byterun stdout] Expected 'abcd abcd b\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
osh-byterun2 Slicing of string with variables

[osh-byterun stdout] Expected 'abcd abcd b\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
zsh3 Array index on LHS of assignment

stdout:
X 2 3
stderr:
osh-byterun3 Array index on LHS of assignment

[osh-byterun stdout] Expected '1 X 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
zsh4 Array index on LHS with spaces

stdout:
stderr: 
zsh: bad pattern: a[zero
osh4 Array index on LHS with spaces

[osh stdout] Expected '1 X 3\n', got '1 2 3\n'

stdout:
1 2 3
stderr:
osh error: 'a[zero': No such file or directory
osh_ALT4 Array index on LHS with spaces

[osh_ALT stdout] Expected '1 X 3\n', got '1 2 3\n'

stdout:
1 2 3
stderr:
osh error: 'a[zero': No such file or directory
osh-byterun4 Array index on LHS with spaces

[osh-byterun stdout] Expected '1 X 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
zsh5 Array index on LHS with indices

stdout:
X 2 3
stderr:
osh-byterun5 Array index on LHS with indices

[osh-byterun stdout] Expected '1 2 X\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
mksh6 Slicing of string with expressions

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: ${s:zero}: bad substitution
zsh6 Slicing of string with expressions

stdout:
stderr: 
zsh: unrecognized modifier `z'
osh-byterun6 Slicing of string with expressions

[osh-byterun stdout] Expected 'abcd abcd b\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
mksh7 Ambiguous colon in slice

stdout:
2
stderr:
_tmp/spec-bin/mksh: <stdin>[3]: ${s: 0 < 1 ? 2 : 0 : 1}: bad substitution
zsh7 Ambiguous colon in slice

stdout:
2
stderr:
zsh: bad math expression: ':' expected
osh-byterun7 Ambiguous colon in slice

[osh-byterun stdout] Expected u'2\nc\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
osh-byterun8 Triple parens should be disambiguated

[osh-byterun stdout] Expected '7 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
osh-byterun9 Quadruple parens should be disambiguated

[osh-byterun stdout] Expected '15 15\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
mksh10 Alternative $[] syntax

stdout:
$[1 + 2] $[3 * 4]
stderr:
osh-byterun10 Alternative $[] syntax

[osh-byterun stdout] Expected '3 12\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