Results for ysh-func-builtin.test.sh

statusysh
FAIL 12
total12
caseyshdescription
0FAIL join()
details
1FAIL @[split(x)] respects IFS
details
2FAIL @[maybe(x)]
details
3FAIL maybe() on invalid type is fatal error
details
4FAIL split() on invalid type is fatal error
details
5FAIL @[glob(x)]
details
6FAIL shSplit() respects IFS
details
7FAIL getVar() gets global or local vars
details
8FAIL ASCII upper() lower()
details
9FAIL Unicode upper() lower()
details
10FAIL getFrame()
details
11FAIL bindFrame()
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped
12 failed under osh

Details on runs that didn't PASS

ysh0 join()

[ysh stdout] Expected "['abc d']\n['a:b:c d']\n", got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh1 @[split(x)] respects IFS

[ysh stdout] Expected "['one', 'two', 'three']\n", got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh2 @[maybe(x)]

[ysh stdout] Expected "['a', 'X', 'b']\n['a', 'b']\n", got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh3 maybe() on invalid type is fatal error

[ysh status] Expected 3, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh4 split() on invalid type is fatal error

[ysh stdout] Expected '--all\n--long\n', got ''
[ysh status] Expected 3, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh5 @[glob(x)]

[ysh stdout] Expected 'A\nB\n___\na.z\nb.z\n___\n-.z\na.z\nb.z\n', got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh6 shSplit() respects IFS

[ysh stdout] Expected "['aa', 'a', 'bb', 'b']\n[' ', '', ' ', ' bb b ']\n[' aa a ', '', ' ', ' ']\n" Got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh7 getVar() gets global or local vars

[ysh stdout] Expected 'g=global\nmylocal=43\nmylocal=43\nnot_global_or_local=null\n' Got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh8 ASCII upper() lower()

[ysh stdout] Expected 'abc-\nXYZ!\n\nABC-\nabc-\nXYZ!\nxyz!\n', got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh9 Unicode upper() lower()

[ysh stdout] Expected '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n', got ''
[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh10 getFrame()

[ysh stdout] Expected '<Frame>\n(List) []\n\np2 frame -1\n<Frame>\n(Dict) {"ARGV":[],"fr":<Frame>}\n(List) ["ARGV","fr"]\n\np2 frame -2\n<Frame>\n(List) ["ARGV","p1_var"]\n\n' Got ''
[ysh status] Expected 3, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
ysh11 bindFrame()

[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_