Results for ysh-env.test.sh

statusoshosh_ALT
pass 22
FAIL 22
total44
caseoshosh_ALTdescription
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_ALT0 Can read from ENV Dict

[osh_ALT stdout] Expected '(Str) "Dict"\nZZ is zz\n', got ''
[osh_ALT 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_ALT2 setglobal ENV.PYTHONPATH = 'foo' changes child process state

[osh_ALT status] Expected 0, got 1

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