Results for ysh-env.test.sh

statusoshosh_ALT
pass 55
FAIL 44
total99
caseoshosh_ALTdescription
0pass pass Can read from ENV Dict
1pass pass YSH doesn't have exported vars (declare -x)
2FAIL FAIL Temp bindings A=a B=b my-command push to ENV dict
detailsdetails
3pass pass setglobal ENV.PYTHONPATH = 'foo' changes child process state
4FAIL FAIL export builtin is disabled, in favor of setglobal
detailsdetails
5FAIL FAIL PS4 environment variable is respected
detailsdetails
6pass pass ENV works in different modules
7FAIL FAIL HOME var
detailsdetails
8pass pass exec builtin respects ENV
10 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
4 failed under osh

Details on runs that didn't PASS

osh2 Temp bindings A=a B=b my-command push to ENV dict

[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 40741: command.Pipeline failed with status 1
osh_ALT2 Temp bindings A=a B=b my-command push to ENV dict

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

stdout:
stderr: 
  _A=a _B=b env | grep '^_' | sort
                  ^~~~
[ stdin ]:3: errexit PID 40747: command.Pipeline failed with status 1
osh4 export builtin is disabled, in favor of setglobal

[osh stdout] Expected 'pythonpath=foo\n', got 'pythonpath=/home/uke/oil:/home/uke/oil/vendor\n'

stdout:
pythonpath=/home/uke/oil:/home/uke/oil/vendor
stderr:
osh_ALT4 export builtin is disabled, in favor of setglobal

[osh_ALT stdout] Expected 'pythonpath=foo\n', got 'pythonpath=\n'

stdout:
pythonpath=
stderr:
osh5 PS4 environment variable is respected

[osh stdout] Expected 'TODO\n', got '1\n2\n'

stdout:
1
2
stderr:
%%% echo 1
%%% echo 2
osh_ALT5 PS4 environment variable is respected

[osh_ALT stdout] Expected 'TODO\n', got '1\n2\n'

stdout:
1
2
stderr:
%%% echo 1
%%% echo 2
osh7 HOME var

[osh stdout] Expected '', got '/home/uke\n'
[osh status] Expected 0, got 3

stdout:
/home/uke
stderr:
  echo $[ENV.HOME]
            ^
[ stdin ]:6: fatal: Dict entry 'HOME' not found
osh_ALT7 HOME var

[osh_ALT stdout] Expected '', got '/home/uke\n'
[osh_ALT status] Expected 0, got 3

stdout:
/home/uke
stderr:
  echo $[ENV.HOME]
            ^
[ stdin ]:6: fatal: Dict entry 'HOME' not found