Results for ysh-env.test.sh

statusosh
pass 9
FAIL 1
total10
caseoshdescription
0pass Can read from ENV Dict
1pass ENV works in different modules
2pass bin/ysh doesn't have exported vars (declare -x)
3FAIL Temp bindings A=a B=b my-command push to ENV Obj (ysh:all)
details
4pass setglobal ENV.PYTHONPATH = 'foo' changes child process state
5pass export builtin is disabled in ysh:all, in favor of setglobal
6pass ysh:upgrade can use both export builtin and setglobal ENV
7pass PS4 environment variable is respected
8pass ENV.HOME is respected
9pass exec builtin respects ENV
9 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh3 Temp bindings A=a B=b my-command push to ENV Obj (ysh:all)

[osh stdout] Expected '_A=a\n_B=b\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  _A=a _B=b env | grep '^_' | sort
                  ^~~~
[ stdin ]:3: errexit PID 38335: command.Pipeline failed with status 1