Results for assign.test.sh

casedashbashmkshoshosh_ALTosh-byterundescription
0pass pass pass pass pass FAIL Env value doesn't persist
details
1pass pass pass pass pass FAIL Env value with equals
details
2pass pass BUG pass pass FAIL Env binding can use preceding bindings, but not subsequent ones
detailsdetails
3pass pass pass pass pass FAIL Env value with two quotes
details
4pass pass pass pass pass FAIL Env value with escaped <
details
5pass pass pass pass pass FAIL FOO=foo echo [foo]
details
6pass pass pass pass pass FAIL FOO=foo func
details
7BUG pass ok pass pass FAIL Multiple temporary envs on the stack
detailsdetailsdetails
8pass pass pass pass pass FAIL Escaped = in command name
details
9BUG pass ok pass pass FAIL Env binding not allowed before compound command
detailsdetailsdetails
10pass pass pass pass pass FAIL Trying to run keyword 'for'
details
11pass pass pass pass pass FAIL Empty env binding
details
12pass pass pass pass pass FAIL Assignment doesn't do word splitting
details
13pass pass pass pass pass FAIL Assignment doesn't do glob expansion
details
14ok ok ok pass pass FAIL Env binding in readonly/declare disallowed
detailsdetailsdetailsdetails
15N-I pass N-I pass pass FAIL local -a
detailsdetailsdetails
16N-I pass N-I pass pass FAIL declare -a
detailsdetailsdetails
17N-I pass pass pass pass FAIL typeset -a a[1]=a a[3]=c
detailsdetails
18N-I pass pass FAIL FAIL FAIL indexed LHS without spaces is allowed
detailsdetailsdetailsdetails
19N-I pass N-I pass pass FAIL declare -f exit code indicates function existence
detailsdetailsdetails
20N-I pass N-I pass pass FAIL declare -F prints function names
detailsdetailsdetails
21N-I pass N-I pass pass FAIL declare -p
detailsdetailsdetails
22N-I pass pass pass pass FAIL typeset -f
detailsdetails
23N-I pass BUG pass pass FAIL typeset -p
detailsdetailsdetails
24N-I ok ok pass pass pass typeset -r makes a string readonly
detailsdetailsdetails
25N-I ok N-I pass pass pass typeset -ar makes it readonly
detailsdetailsdetails
26N-I pass pass pass pass FAIL typeset -x makes it exported
detailsdetails
27N-I pass pass pass pass FAIL Multiple assignments / array assignments on a line
detailsdetails
28pass pass pass pass pass FAIL assignments / array assignments not interpreted after 'echo'
details
29N-I ok ok pass pass FAIL Env bindings shouldn't contain array assignments
detailsdetailsdetailsdetails
30N-I BUG ok pass pass FAIL syntax error in array assignment
detailsdetailsdetailsdetails
31pass pass pass FAIL FAIL FAIL dynamic local variables
detailsdetailsdetails
32ok pass pass pass pass pass 'local x' does not set variable
details
33ok pass pass pass pass pass 'local -a x' does not set variable
details
34N-I pass pass pass pass FAIL 'local x' and then array assignment
detailsdetails
35N-I pass N-I pass pass FAIL 'declare -A' and then dict assignment
detailsdetailsdetails
36N-I pass N-I pass pass FAIL declare -g (bash-specific; bash-completion uses it)
detailsdetailsdetails
37pass pass pass pass pass FAIL declare in an if statement
details

146 passed, 13 ok, 26 known unimplemented, 5 known bugs, 2 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 Env value doesn't persist

[osh-byterun stdout] Expected 'foo\n[]\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 Env value with equals

[osh-byterun stdout] Expected 'foo=foo\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
mksh2 Env binding can use preceding bindings, but not subsequent ones

stdout:
foo
[][]
baz
stderr:
osh-byterun2 Env binding can use preceding bindings, but not subsequent ones

[osh-byterun stdout] Expected 'foo\n[foo][]\nbaz\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-byterun3 Env value with two quotes

[osh-byterun stdout] Expected 'fooadjacent\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-byterun4 Env value with escaped <

[osh-byterun stdout] Expected 'foo<foo\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-byterun5 FOO=foo echo [foo]

[osh-byterun stdout] Expected '[]\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-byterun6 FOO=foo func

[osh-byterun stdout] Expected '[foo]\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
dash7 Multiple temporary envs on the stack

stdout:
f [] [A]
--- g() ---
None
None
None
None
p
--- f() ---
None
None
None
None
None
stderr:
mksh7 Multiple temporary envs on the stack

stdout:
f [] [A]
--- g() ---
f
[]
[A]
None
p
--- f() ---
f
[]
[A]
None
None
stderr:
osh-byterun7 Multiple temporary envs on the stack

[osh-byterun stdout] Expected 'f [] [A]\n--- g() ---\nf\n[]\n[A]\nNone\np\n--- f() ---\nf\nNone\nNone\nNone\nNone\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 Escaped = in command name

[osh-byterun stdout] Expected 'HI\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
dash9 Env binding not allowed before compound command

stdout:
stderr: 
_tmp/spec-bin/dash: 1: for: not found
mksh9 Env binding not allowed before compound command

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'do' unexpected
osh-byterun9 Env binding not allowed before compound command

[osh-byterun status] Expected 2, 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-byterun10 Trying to run keyword 'for'

[osh-byterun status] Expected 127, 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-byterun11 Empty env binding

[osh-byterun stdout] Expected '\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-byterun12 Assignment doesn't do word splitting

[osh-byterun stdout] Expected "['one two']\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-byterun13 Assignment doesn't do glob expansion

[osh-byterun stdout] Expected "['_tmp/*.Z']\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
dash14 Env binding in readonly/declare disallowed

stdout:
v=None
stderr:
bash14 Env binding in readonly/declare disallowed

stdout:
v=None
stderr:
mksh14 Env binding in readonly/declare disallowed

stdout:
v=None
stderr:
osh-byterun14 Env binding in readonly/declare disallowed

[osh-byterun status] Expected 2, 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
dash15 local -a

stdout:
stderr: 
_tmp/spec-bin/dash: 2: Syntax error: "(" unexpected (expecting "}")
mksh15 local -a

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '(' unexpected
osh-byterun15 local -a

[osh-byterun stdout] Expected "['x', 'y', 'z']\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
dash16 declare -a

stdout:
stderr: 
_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected
mksh16 declare -a

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
osh-byterun16 declare -a

[osh-byterun stdout] Expected "['x', 'y', 'z']\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
dash17 typeset -a a[1]=a a[3]=c

stdout:
stderr: 
_tmp/spec-bin/dash: 1: typeset: not found
_tmp/spec-bin/dash: 2: Bad substitution
osh-byterun17 typeset -a a[1]=a a[3]=c

[osh-byterun stdout] Expected "['x', 'z']\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
dash18 indexed LHS without spaces is allowed

stdout:
stderr: 
_tmp/spec-bin/dash: 1: a[1: not found
_tmp/spec-bin/dash: 2: Bad substitution
osh18 indexed LHS without spaces is allowed

[osh stdout] Expected "['x', 'z']\n", got '[]\n'

stdout:
[]
stderr:
osh error: 'a[1': No such file or directory
osh_ALT18 indexed LHS without spaces is allowed

[osh_ALT stdout] Expected "['x', 'z']\n", got '[]\n'

stdout:
[]
stderr:
osh error: 'a[1': No such file or directory
osh-byterun18 indexed LHS without spaces is allowed

[osh-byterun stdout] Expected "['x', 'z']\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
dash19 declare -f exit code indicates function existence

stdout:
127
127
127
stderr:
_tmp/spec-bin/dash: 2: declare: not found
_tmp/spec-bin/dash: 5: declare: not found
_tmp/spec-bin/dash: 8: declare: not found
mksh19 declare -f exit code indicates function existence

stdout:
127
127
127
stderr:
_tmp/spec-bin/mksh: <stdin>[2]: declare: not found
_tmp/spec-bin/mksh: <stdin>[5]: declare: not found
_tmp/spec-bin/mksh: <stdin>[8]: declare: not found
osh-byterun19 declare -f exit code indicates function existence

[osh-byterun stdout] Expected '1\n1\n0\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
dash20 declare -F prints function names

stdout:
stderr: 
_tmp/spec-bin/dash: 6: declare: not found
mksh20 declare -F prints function names

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[6]: declare: not found
osh-byterun20 declare -F prints function names

[osh-byterun stdout] Expected 'declare -f __ec\ndeclare -f _ab\ndeclare -f add\ndeclare -f div\ndeclare -f ek\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
dash21 declare -p

stdout:
127
127
127
stderr:
_tmp/spec-bin/dash: 2: declare: not found
_tmp/spec-bin/dash: 5: declare: not found
_tmp/spec-bin/dash: 8: declare: not found
mksh21 declare -p

stdout:
127
127
127
stderr:
_tmp/spec-bin/mksh: <stdin>[2]: declare: not found
_tmp/spec-bin/mksh: <stdin>[5]: declare: not found
_tmp/spec-bin/mksh: <stdin>[8]: declare: not found
osh-byterun21 declare -p

[osh-byterun stdout] Expected '1\n1\n0\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
dash22 typeset -f

stdout:
127
127
127
stderr:
_tmp/spec-bin/dash: 1: typeset: not found
_tmp/spec-bin/dash: 4: typeset: not found
_tmp/spec-bin/dash: 7: typeset: not found
osh-byterun22 typeset -f

[osh-byterun stdout] Expected '1\n1\n0\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
dash23 typeset -p

stdout:
127
127
127
stderr:
_tmp/spec-bin/dash: 2: typeset: not found
_tmp/spec-bin/dash: 5: typeset: not found
_tmp/spec-bin/dash: 8: typeset: not found
mksh23 typeset -p

stdout:
0
0
0
stderr:
osh-byterun23 typeset -p

[osh-byterun stdout] Expected '1\n1\n0\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
dash24 typeset -r makes a string readonly

stdout:
status=0
status=0
status=127
status=127
status=0
status=0
stderr:
_tmp/spec-bin/dash: 1: typeset: not found
_tmp/spec-bin/dash: 2: typeset: not found
_tmp/spec-bin/dash: 7: s1+=e: not found
_tmp/spec-bin/dash: 9: s2+=f: not found
bash24 typeset -r makes a string readonly

stdout:
status=1
status=1
status=1
status=1
status=1
status=1
stderr:
_tmp/spec-bin/bash: line 3: s1: readonly variable
_tmp/spec-bin/bash: line 5: s2: readonly variable
_tmp/spec-bin/bash: line 7: s1: readonly variable
_tmp/spec-bin/bash: line 9: s2: readonly variable
_tmp/spec-bin/bash: line 11: unset: s1: cannot unset: readonly variable
_tmp/spec-bin/bash: line 13: unset: s2: cannot unset: readonly variable
mksh24 typeset -r makes a string readonly

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: read-only: s1
dash25 typeset -ar makes it readonly

stdout:
stderr: 
_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected
bash25 typeset -ar makes it readonly

stdout:
status=1
status=1
status=1
status=1
status=1
status=1
stderr:
_tmp/spec-bin/bash: line 3: array1: readonly variable
_tmp/spec-bin/bash: line 5: array2: readonly variable
_tmp/spec-bin/bash: line 7: array1: readonly variable
_tmp/spec-bin/bash: line 9: array2: readonly variable
_tmp/spec-bin/bash: line 11: unset: array1: cannot unset: readonly variable
_tmp/spec-bin/bash: line 13: unset: array2: cannot unset: readonly variable
mksh25 typeset -ar makes it readonly

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
dash26 typeset -x makes it exported

stdout:
None
stderr:
_tmp/spec-bin/dash: 1: typeset: not found
osh-byterun26 typeset -x makes it exported

[osh-byterun stdout] Expected 'lib/\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
dash27 Multiple assignments / array assignments on a line

stdout:
stderr: 
_tmp/spec-bin/dash: 1: b[0+0]=2: not found
osh-byterun27 Multiple assignments / array assignments on a line

[osh-byterun stdout] Expected '1 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-byterun28 assignments / array assignments not interpreted after 'echo'

[osh-byterun stdout] Expected 'b[0]=2 c=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
dash29 Env bindings shouldn't contain array assignments

stdout:
stderr: 
_tmp/spec-bin/dash: 1: b[0]=2: not found
bash29 Env bindings shouldn't contain array assignments

stdout:
1
None
3
stderr:
mksh29 Env bindings shouldn't contain array assignments

stdout:
1
2
3
stderr:
osh-byterun29 Env bindings shouldn't contain array assignments

[osh-byterun status] Expected 2, 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
dash30 syntax error in array assignment

stdout:
stderr: 
_tmp/spec-bin/dash: 1: b[0+]=y: not found
bash30 syntax error in array assignment

stdout:
x
stderr:
_tmp/spec-bin/bash: line 1: 0+: syntax error: operand expected (error token is "+")
mksh30 syntax error in array assignment

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: 0+: unexpected 'end of expression'
osh-byterun30 syntax error in array assignment

[osh-byterun status] Expected 2, 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
osh31 dynamic local variables

[osh stdout] Expected '[y a=b]\n[]\n[y]\n[b]\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
Line 2 of '<stdin>'
    local "$1"  # Only x is assigned here
          ^
Variable names must be unquoted constants
osh_ALT31 dynamic local variables

[osh_ALT stdout] Expected '[y a=b]\n[]\n[y]\n[b]\n', got ''
[osh_ALT status] Expected 0, got 2

stdout:
stderr: 
Line 2 of '<stdin>'
    local "$1"  # Only x is assigned here
          ^
Variable names must be unquoted constants
osh-byterun31 dynamic local variables

[osh-byterun stdout] Expected '[y a=b]\n[]\n[y]\n[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
dash32 'local x' does not set variable

stdout:
stderr: 
_tmp/spec-bin/dash: 4: x: parameter not set
dash33 'local -a x' does not set variable

stdout:
stderr: 
_tmp/spec-bin/dash: 3: local: -a: bad variable name
dash34 'local x' and then array assignment

stdout:
stderr: 
_tmp/spec-bin/dash: 3: x[3]=foo: not found
_tmp/spec-bin/dash: 4: Bad substitution
osh-byterun34 'local x' and then array assignment

[osh-byterun stdout] Expected 'foo\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
dash35 'declare -A' and then dict assignment

stdout:
stderr: 
_tmp/spec-bin/dash: 1: declare: not found
_tmp/spec-bin/dash: 3: foo[bar]=value: not found
_tmp/spec-bin/dash: 4: Bad substitution
mksh35 'declare -A' and then dict assignment

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: declare: not found
_tmp/spec-bin/mksh: <stdin>[3]: "bar": unexpected '"'
osh-byterun35 'declare -A' and then dict assignment

[osh-byterun stdout] Expected 'value\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
dash36 declare -g (bash-specific; bash-completion uses it)

stdout:
['', '']
stderr:
_tmp/spec-bin/dash: 2: declare: not found
_tmp/spec-bin/dash: 3: declare: not found
_tmp/spec-bin/dash: 4: declare: not found
_tmp/spec-bin/dash: 5: dict[foo]=bar: not found
_tmp/spec-bin/dash: 6: declare: not found
_tmp/spec-bin/dash: 7: localdict[spam]=Eggs: not found
_tmp/spec-bin/dash: 1: eval: declare: not found
_tmp/spec-bin/dash: 9: ev[ev1]=ev2: not found
_tmp/spec-bin/dash: 13: Bad substitution
mksh36 declare -g (bash-specific; bash-completion uses it)

stdout:
['', '']
stderr:
_tmp/spec-bin/mksh: <stdin>[11]: declare: not found
_tmp/spec-bin/mksh: <stdin>[11]: declare: not found
_tmp/spec-bin/mksh: <stdin>[11]: declare: not found
_tmp/spec-bin/mksh: <stdin>[11]: "foo": unexpected '"'
_tmp/spec-bin/mksh: <stdin>[13]: "foo": unexpected '"'
osh-byterun36 declare -g (bash-specific; bash-completion uses it)

[osh-byterun stdout] Expected "['42', '']\n['bar', '']\n['ev2']\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-byterun37 declare in an if statement

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