Results for ysh-special-vars.test.sh

statusysh
FAIL 5
total5
caseyshdescription
0FAIL _this_dir in main and oshrc
details
1FAIL _this_dir not set on stdin
details
2FAIL _this_dir in sourced module
details
3FAIL _this_dir not affected by 'cd'
details
4FAIL _this_dir used with relative path
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped
5 failed under osh

Details on runs that didn't PASS

ysh0 _this_dir in main and oshrc

[ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\ninteractive\nhi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\n-c\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 _this_dir not set on stdin

[ysh stdout] Expected 'not yet\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 _this_dir in sourced module

[ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\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 _this_dir not affected by 'cd'

[ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\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 _this_dir used with relative path

[ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\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_