Results for ysh-builtin-ctx.test.sh

statusysh
FAIL 8
total8
caseyshdescription
0FAIL ctx push and set
details
1FAIL ctx emit
details
2FAIL nested ctx
details
3FAIL error in context
details
4FAIL no context, set
details
5FAIL no context, emit
details
6FAIL mini-parseArgs
details
7FAIL ctx with value.Place, not List/Dict (error location bug fix)
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped
8 failed under osh

Details on runs that didn't PASS

ysh0 ctx push and set

[ysh stdout] Expected '{\n "key1": "value1",\n "key2": "value2"\n}\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 ctx emit

[ysh stdout] Expected '{\n "flag": [\n {\n "short_name": "-v"\n }\n ]\n}\n{\n "flag": [\n {\n "short_name": "-v"\n },\n {\n "short_name": "-c"\n }\n ]\n}\n{\n "flag": [\n {\n "short_name": "-v"\n },\n {\n "short_name": "-c"\n }\n ]\n}\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 nested ctx

[ysh stdout] Expected '{\n "from": "a"\n}\n{\n "from": "b"\n}\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 error in context

[ysh stdout] Expected 'status=100\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_
ysh4 no context, set

[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 no context, emit

[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_
ysh6 mini-parseArgs

[ysh stdout] Expected '{\n "flag": [\n {\n "short_name": "-t",\n "long_name": "--tsv",\n "type": "Bool",\n "help": "Output as a TSV"\n },\n {\n "short_name": "-r",\n "long_name": "--recursive",\n "type": "Bool",\n "help": "Recurse into the given directory"\n },\n {\n "short_name": "-N",\n "long_name": "--count",\n "type": "Int",\n "help": "Process no more than N files"\n }\n ],\n "arg": [\n {\n "name": "path"\n }\n ]\n}\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 ctx with value.Place, not List/Dict (error location bug fix)

[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_