Results for ysh-proc.test.sh

statusosh
FAIL 38
total38
caseoshdescription
0FAIL Open proc (any number of args)
details
1FAIL Closed proc with no args, passed too many
details
2FAIL Open proc has ARGV
details
3FAIL Closed proc has empty "$@" or ARGV
details
4FAIL Proc with default args
details
5FAIL Proc with word params
details
6FAIL Proc with ... "rest" word params
details
7FAIL word rest params 2
details
8FAIL proc with typed args
details
9FAIL Proc name-with-hyphen
details
10FAIL Proc with block arg
details
11FAIL proc returning wrong type
details
12FAIL proc returning invalid string
details
13FAIL 'return' doesn't accept expressions
details
14FAIL procs are in same namespace as variables
details
15FAIL Nested proc is allowed
details
16FAIL Procs defined inside compound statements
details
17FAIL Block can be passed literally, or as expression in third arg group
details
18FAIL Pass through all 4 kinds of args
details
19FAIL Global and local ARGV, like "$@"
details
20FAIL Mutating global ARGV
details
21FAIL Mutating local ARGV
details
22FAIL typed proc allows all kinds of args
details
23FAIL can unset procs without -f
details
24FAIL procs shadow sh-funcs
details
25FAIL first word skips non-proc variables
details
26FAIL proc resolution changes with the local scope
details
27FAIL procs are defined in local scope
details
28FAIL declare -f -F only prints shell functions
details
29FAIL compgen -A function shows user-defined invokables - shell funcs, Proc, Obj
details
30FAIL type / type -a builtin on invokables - shell func, proc, invokable
details
31FAIL type / type -a agrees on ordering of shell functions and procs
details
32FAIL invokable Obj that doesn't declare self
details
33FAIL invokable Obj is called with self
details
34FAIL invokable Obj with more typed args
details
35FAIL two different objects can share the same __invoke__
details
36FAIL Stateful proc with counter
details
37FAIL Procs are closures (capture their environment)
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 38 failed, 0 timeouts, 0 cases skipped
38 failed under osh

Details on runs that didn't PASS

osh0 Open proc (any number of args)

[osh stdout] Expected 'status=42\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh1 Closed proc with no args, passed too many

[osh stdout] Expected 'status=42\n' Got ''
[osh status] Expected 3 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh2 Open proc has ARGV

[osh stdout] Expected 'ARGV x y z\ndollar-at a b c\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh3 Closed proc has empty "$@" or ARGV

[osh stdout] Expected "params\nx\ny\nz\n['dollar-at', 'a', 'b', 'c']\n['ARGV']\n" Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh4 Proc with default args

[osh stdout] Expected 'x=foo\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh5 Proc with word params

[osh stdout] Expected 'a b c\nstatus=42\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh6 Proc with ... "rest" word params

[osh stdout] Expected 'names:\na\nb\nc\nstatus=0\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh7 word rest params 2

[osh stdout] Expected 'a\nb c\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh8 proc with typed args

[osh stdout] Expected '(Str) "WORD"\n(List) [1,2,3]\n(Dict) {"name":"bob"}\n---\n(Str) "x"\n(List) ["a","b"]\n(Dict) {"bob":42}\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh9 Proc name-with-hyphen

[osh stdout] Expected 'x y z\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh10 Proc with block arg

[osh stdout] Expected 'f word a b\nFFF\ng word a b\ng rest c d\nGGG\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh11 proc returning wrong type

[osh status] Expected 3 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh12 proc returning invalid string

[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh13 'return' doesn't accept expressions

[osh status] Expected 2 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh14 procs are in same namespace as variables

[osh stdout] Expected 'myproc is a Proc\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh15 Nested proc is allowed

[osh stdout] Expected 'G\n' Got ''
[osh status] Expected 127 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh16 Procs defined inside compound statements

[osh stdout] Expected 'loop\nbrace\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh17 Block can be passed literally, or as expression in third arg group

[osh stdout] Expected 'literal\nexpression\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh18 Pass through all 4 kinds of args

[osh stdout] Expected '(List) ["a","b"]\n(List) ["c","d"]\n(Dict) {"n":99}\nCommand\n\n(List) ["a","b"]\n(List) ["c","d"]\n(Dict) {"n":99}\nCommand\n\n' Got ''
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh19 Global and local ARGV, like "$@"

[osh stdout] Expected "[]\n[]\n['a b', 'c']\n[]\n['1', '2 3']\n[]\n" Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh20 Mutating global ARGV

[osh stdout] Expected "['global']\n['global', 'GG']\n" Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh21 Mutating local ARGV

[osh stdout] Expected "['global', 'a b', 'c']\n['local', 'a b', 'c']\n['local', 'a b', 'c', 'LL']\n['global', 'a b', 'c']\n" Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh22 typed proc allows all kinds of args

[osh stdout] Expected '(Str) "word"\n(Int) 42\n(Int) 99\nCommand\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh23 can unset procs without -f

[osh stdout] Expected 'bar\nstatus=0\n<Proc>\nstatus=127\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh24 procs shadow sh-funcs

[osh stdout] Expected 'proc\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh25 first word skips non-proc variables

[osh stdout] Expected 'sh-func grep\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh26 proc resolution changes with the local scope

[osh stdout] Expected 'foo\nbar\nfoo\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh27 procs are defined in local scope

[osh stdout] Expected ' [frame_vars_] __E__ ARGV localproc\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh28 declare -f -F only prints shell functions

[osh stdout] Expected 'declare -f myfunc\n---\nstatus=1\nstatus=1\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh29 compgen -A function shows user-defined invokables - shell funcs, Proc, Obj

[osh stdout] Expected 'my-shell-func\nmyproc\n---\ndefine-inner\ninner\nmy-shell-func\nmyproc\n---\ndefine-inner\nmy-shell-func\nmyinvoke\nmyobj\nmyproc\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh30 type / type -a builtin on invokables - shell func, proc, invokable

[osh stdout] Expected 'function\nproc\nproc\n1\n---\nmy-shell-func is a shell function\nmy-shell-func() {\n echo hi\n}\nmyproc is a YSH proc\ninvokable is a YSH invokable\n1\n---\nmy-shell-func is a shell function\nmy-shell-func() {\n echo hi\n}\nmyproc is a YSH proc\ninvokable is a YSH invokable\n---\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh31 type / type -a agrees on ordering of shell functions and procs

[osh stdout] Expected 'sh-func\nfunction\n\nYSH proc\nproc\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh32 invokable Obj that doesn't declare self

[osh status] Expected 3 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh33 invokable Obj is called with self

[osh stdout] Expected 'sum = 8\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh34 invokable Obj with more typed args

[osh stdout] Expected 'sum = 1\n(Dict) {"x":0,"y":1}\n(List) ["a","b",42,43]\n\nsum = 5\n(Obj) ("x":2,"y":3) --> ("__invoke__":<Proc>)\n(List) ["a","b",44,45]\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh35 two different objects can share the same __invoke__

[osh stdout] Expected 'sum = 9\nsum = 53\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh36 Stateful proc with counter

[osh stdout] Expected 'counter = 1\ncounter = 3\ncounter = 6\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib
osh37 Procs are closures (capture their environment)

[osh stdout] Expected 'x = 43\n' Got ''
[osh status] Expected 0 Got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 27, in <module>
    from core import shell
  File "/home/uke/oil/core/shell.py", line 40, in <module>
    from builtin import dirs_osh
  File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
    from pylib import path_lib
ImportError: cannot import name path_lib