| status | osh | |
| FAIL | 17 | |
| total | 17 | |
| case | osh | description |
| 0 | FAIL | Exact equality with === and !== |
| details | ||
| 1 | FAIL | Approximate equality of Str x {Str, Int, Bool} with ~== |
| details | ||
| 2 | FAIL | Wrong Types with ~== |
| details | ||
| 3 | FAIL | === on float not allowed |
| details | ||
| 4 | FAIL | floatsEqual() |
| details | ||
| 5 | FAIL | Comparison converts from Str -> Int or Float |
| details | ||
| 6 | FAIL | Comparison of Int |
| details | ||
| 7 | FAIL | Comparison of Str does conversion to Int |
| details | ||
| 8 | FAIL | Mixed Type Comparison does conversion to Int |
| details | ||
| 9 | FAIL | Invalid String is an error |
| details | ||
| 10 | FAIL | Bool conversion -- explicit allowed, implicit not allowed |
| details | ||
| 11 | FAIL | Chained Comparisons |
| details | ||
| 12 | FAIL | List / "Tuple" comparison is not allowed |
| details | ||
| 13 | FAIL | Ternary op behaves like if statement |
| details | ||
| 14 | FAIL | Undefined comparisons |
| details | ||
| 15 | FAIL | Non-comparable types in case arms |
| details | ||
| 16 | FAIL | object identity |
| details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 17 failed, 0 timeouts, 0 cases skipped 17 failed under osh
| osh | 0 Exact equality with === and !== [osh stdout] Expected 'ok\nok\nok\nok\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
|
| osh | 1 Approximate equality of Str x {Str, Int, Bool} with ~== [osh stdout] Expected 'Str-Str\nStr-Int\nStr-Negative\nStr-Underscore\nStr-Bool\nbool matrix\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
|
| osh | 2 Wrong Types with ~== [osh stdout] Expected 'one\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
|
| osh | 3 === on float not allowed [osh stdout] Expected 'status=3\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
|
| osh | 4 floatsEqual() [osh stdout] Expected '(Bool) true\n(Bool) false\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
|
| osh | 5 Comparison converts from Str -> Int or Float [osh stdout] Expected ' i i true\nsi i true\n i si true\n---\n f f true\nsf f true\n f sf true\n---\n i f false\nsi f false\n i sf false\n---\n f i true\nsf i true\n f si true\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
|
| osh | 6 Comparison of Int [osh stdout] Expected '<\n<=\n>\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
|
| osh | 7 Comparison of Str does conversion to Int [osh stdout] Expected '<\n<=\n>\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
|
| osh | 8 Mixed Type Comparison does conversion to Int [osh stdout] Expected '<\n<=\n>\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
|
| osh | 9 Invalid String is an error [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
|
| osh | 10 Bool conversion -- explicit allowed, implicit not allowed [osh stdout] Expected '<\n<=\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
|
| osh | 11 Chained Comparisons [osh stdout] Expected '123\n123\nno\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
|
| osh | 12 List / "Tuple" comparison is not allowed [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
|
| osh | 13 Ternary op behaves like if statement [osh stdout] Expected 'y=42\nx=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
|
| osh | 14 Undefined comparisons [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
|
| osh | 15 Non-comparable types in case arms [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
|
| osh | 16 object identity [osh stdout] Expected '(Bool) true\n(Bool) true\n\n(Bool) false\n(Bool) true\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
|