Results for ysh-env.test.sh

statusoshosh-cpp
pass 22
FAIL 22
total44
caseoshosh-cppdescription
0FAIL FAIL Can read from ENV Dict
detailsdetails
1pass pass Temp bindings A=a B=b my-command push to ENV dict
2FAIL FAIL setglobal ENV.PYTHONPATH = 'foo' changes child process state
detailsdetails
3pass pass export builtin still works
4 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh0 Can read from ENV Dict

[osh stdout] Expected '(Str) "Dict"\nZZ is zz\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  pp test_ (type(ENV))
                 ^~~
[ stdin ]:3: fatal: Undefined variable 'ENV'
osh-cpp0 Can read from ENV Dict

[osh-cpp stdout] Expected '(Str) "Dict"\nZZ is zz\n', got ''
[osh-cpp status] Expected 0, got 1

stdout:
stderr: 
  pp test_ (type(ENV))
                 ^~~
[ stdin ]:3: fatal: Undefined variable 'ENV'
osh2 setglobal ENV.PYTHONPATH = 'foo' changes child process state

[osh status] Expected 0, got 1

stdout:
stderr: 
  setglobal ENV.PYTHONPATH = 'foo'
            ^~~
[ stdin ]:3: fatal: Undefined variable 'ENV'
osh-cpp2 setglobal ENV.PYTHONPATH = 'foo' changes child process state

[osh-cpp status] Expected 0, got 1

stdout:
stderr: 
  setglobal ENV.PYTHONPATH = 'foo'
            ^~~
[ stdin ]:3: fatal: Undefined variable 'ENV'