Results for ysh-regex-api.test.sh

statusosh
FAIL 40
total40
caseoshdescription
0FAIL s ~ regex and s !~ regex
details
1FAIL Invalid regex has libc error message
details
2FAIL Eggex flags to ignore case are respected
details
3FAIL Eggex flags to treat newlines as special are respected
details
4FAIL leftMatch() combined with REG_NEWLINE - interaction with ^
details
5FAIL Bug fix: leftMatch() can be used with a|b (ERE precedence is respected)
details
6FAIL Positional captures with _group
details
7FAIL _group() returns null when group doesn't match
details
8FAIL _start() and _end()
details
9FAIL Str->search() method returns value.Match object
details
10FAIL Str->search() only matches %start ^ when pos == 0
details
11FAIL search() and leftMatch() accept ERE string
details
12FAIL Str.leftMatch() can implement lexer pattern
details
13FAIL Named captures with m.group()
details
14FAIL Named captures with _group() _start() _end()
details
15FAIL Named Capture Decays Without Name
details
16FAIL Nested Named Capture Uses ( ordering
details
17FAIL Capture with Type Conversion Func
details
18FAIL Named Capture with Type Conversion Func
details
19FAIL Can't splice eggex with different flags
details
20FAIL Eggex with translation preference has arbitrary flags
details
21FAIL Invalid sh operation on eggex
details
22FAIL Long Python Example
details
23FAIL Regex in a loop (bug regression)
details
24FAIL Regex in a loop depending on var
details
25FAIL Regex with [ (bug regression)
details
26FAIL Str.replace(Str, Str)
details
27FAIL Str.replace(Eggex, Str)
details
28FAIL Str.replace(Eggex, Expr)
details
29FAIL Str.replace(*, Expr), $0
details
30FAIL Str.replace(Eggex, Expr), scopes
details
31FAIL Str.replace(Eggex, *, count)
details
32FAIL Str.replace(Str, Str), empty new/old strings
details
33FAIL Str.replace(Eggex, Lazy), convert_func
details
34FAIL Str.replace(Eggex, *), eflags
details
35FAIL Str.replace(Eggex, *), guard against infinite loop
details
36FAIL Str.replace(Eggex, *), str cannot contain NUL bytes
details
37FAIL Str.replace() at top level
details
38FAIL Str.replace() lexical scope with ^""
details
39FAIL Str.replace() lexical scope with ^[]
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 40 failed, 0 timeouts, 0 cases skipped
40 failed under osh

Details on runs that didn't PASS

osh0 s ~ regex and s !~ regex

[osh stdout] Expected "matches\n['foo', 'oo']\ndoes not match\n['foo', 'oo']\ngot expected status 3\ngot expected status 3\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 Invalid regex has libc error message

[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
osh2 Eggex flags to ignore case are respected

[osh stdout] Expected 'yes\nyes\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 Eggex flags to treat newlines as special are respected

[osh stdout] Expected 'yes\nyes\nyes\nyes\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 leftMatch() combined with REG_NEWLINE - interaction with ^

[osh stdout] Expected '(List) [0,"o"]\n(List) [1,"n"]\n(List) [2,"e"]\n\n(List) [0,"o"]\n(List) [1,"n"]\n(List) [2,"e"]\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 Bug fix: leftMatch() can be used with a|b (ERE precedence is respected)

[osh stdout] Expected '(List) ["2","2",null]\n(List) ["t",null,"t"]\n\n(List) [0,"o"]\n(List) [1,"n"]\n(List) [2,"e"]\n\n(List) [0,"o"]\n(List) [1,"n"]\n(List) [2,"e"]\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 Positional captures with _group

[osh stdout] Expected "['2020-08', '2020', '08']\n['2020-08', '2020', '08']\n['2020-08', '2020', '08']\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 _group() returns null when group doesn't match

[osh stdout] Expected 'null b\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 _start() and _end()

[osh stdout] Expected 'start=3 end=6\n---\nstart=0 end=3\nstart=3 end=6\n---\nstart=0 end=3\nstart=-1 end=-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
osh9 Str->search() method returns value.Match object

[osh stdout] Expected 'g0 2 6 Hi5-\ng1 2 4 Hi\ng2 4 5 5\n---\ng0 7 12 Bye6-\ng1 7 10 Bye\ng2 10 11 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
osh10 Str->search() only matches %start ^ when pos == 0

[osh stdout] Expected 'pat=^([[:digit:]]+)-\n12-\npat=([[:digit:]]+)-\n12-\n34-\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 search() and leftMatch() accept ERE string

[osh stdout] Expected 'g0 2 6 hi5-\ng1 2 4 hi\ng2 4 5 5\n---\ng0 0 4 hi5-\ng1 0 2 hi\ng2 2 3 5\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
osh12 Str.leftMatch() can implement lexer pattern

[osh stdout] Expected 'pos=0\nnull/ab/null/\n\npos=2\nnull/null/ /\n\npos=3\n12/null/null/\n\npos=5\n===\npos=0\nnull/ab/null/\n\npos=2\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
osh13 Named captures with m.group()

[osh stdout] Expected "['2020', '08']\n3 7\n8 10\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
osh14 Named captures with _group() _start() _end()

[osh stdout] Expected "['2020', '08']\n3 7\n8 10\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
osh15 Named Capture Decays Without Name

[osh stdout] Expected '([[:digit:]]+)\nyes\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
osh16 Nested Named Capture Uses ( ordering

[osh stdout] Expected '0 when: 2023-10\n1 2023-10\n2 2023-10\n\nnull\n2023 10\nnull null null\n---\n0 when: 23:30\n1 23:30\n2 null\n\n23:30\nnull null\n23 30 null\n---\n0 when: 23:30:59\n1 23:30:59\n2 null\n\n23:30:59\nnull null\n23 30 59\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 Capture with Type Conversion Func

[osh stdout] Expected 'Int Float\nInt Float\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 Named Capture with Type Conversion Func

[osh stdout] Expected '-3.14\nInt Float\n-3.14\nInt Float\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
osh19 Can't splice eggex with different flags

[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 Eggex with translation preference has arbitrary flags

[osh stdout] Expected 'yes\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 Invalid sh operation on eggex

[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 Long Python Example

[osh stdout] Expected 'Y\nN\nY decimal\nN decimal\nY binary\nN binary\nY octal\nN octal\nY hex\nN hex\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 Regex in a loop (bug regression)

[osh stdout] Expected '1\n2\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 Regex in a loop depending on var

[osh stdout] Expected 'line foo\nmatched foo\nline bar\nmatched bar\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 Regex with [ (bug regression)

[osh stdout] Expected 'sq\nchar class\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 Str.replace(Str, Str)

[osh stdout] Expected 'AbcA\naBca\nabca\na\nnewanewbnewcnewanew\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 Str.replace(Eggex, Str)

[osh stdout] Expected 'mangled-kebab-case\nsmaller---to---bigger\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 Str.replace(Eggex, Expr)

[osh stdout] Expected "Hello Bob\nHello Bob (extracted from 'name: Bob')\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 Str.replace(*, Expr), $0

[osh stdout] Expected 'class FooBar: # this class is called FooBar\nclass FooBar: # this class is called FooBar\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 Str.replace(Eggex, Expr), scopes

[osh stdout] Expected 'Hello 123 (surprise!)\nHello 123\nHello 123, 456\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 Str.replace(Eggex, *, count)

[osh stdout] Expected '1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1abc2abc3abc\n1abc2abc3abc\n1abc2abc3abc\n1abc2abc3abc\n1-2abc3abc\n1-2abc3abc\n1-2abc3abc\n1-2abc3abc\n1-2-3abc\n1-2-3abc\n1-2-3abc\n1-2-3abc\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\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 Str.replace(Str, Str), empty new/old strings

[osh stdout] Expected 'a\nnewanewbnewcnewanew\nnewabca\nnewanewbnewcnewanew\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
osh33 Str.replace(Eggex, Lazy), convert_func

[osh stdout] Expected '124\n123\nstatus=3\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 Str.replace(Eggex, *), eflags

[osh stdout] Expected '[1]-[2]-[3]\n[4]-[5]\n[1]-2-3\n4-5\n[1]-2-3\n[4]-5\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 Str.replace(Eggex, *), guard against infinite loop

[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
osh36 Str.replace(Eggex, *), str cannot contain NUL bytes

[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
osh37 Str.replace() at top level

[osh stdout] Expected '<Expr>\nreplace my[x st t x]r\nmyreplace my[x st t x]r\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
osh38 Str.replace() lexical scope with ^""

[osh stdout] Expected '<Expr>\nreplace my[x st t x]r\nmyreplace my[x st t x]r\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
osh39 Str.replace() lexical scope with ^[]

[osh stdout] Expected '<Expr>\nreplace my[x st t x]r\nmyreplace my[x st t x]r\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