Results for ysh-namespaces.test.sh

statusysh
pass 3
FAIL 2
total5
caseyshdescription
0pass global frame doesn't contain builtins like len(), dict(), io
1pass global frame doesn't contain env vars
2FAIL global frame doesn't have PWD, IFS
details
3FAIL __defaults__ is a Dict, showing default PATH, PS1
details
4pass __builtins__ module
3 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

ysh2 global frame doesn't have PWD, IFS

[ysh stdout] Expected '', got 'IFS=[ \t\n]\n'
[ysh status] Expected 0, got 1

stdout:
IFS=[ 	
]
stderr:
  echo "PWD=[$PWD]"
             ^~~~
[ stdin ]:2: fatal: Undefined variable 'PWD'
ysh3 __defaults__ is a Dict, showing default PATH, PS1

[ysh stdout] Expected '(Str) "Dict"\n', got '(Str) "Dict"\n(Dict) {}\n'

stdout:
(Str)   "Dict"
(Dict)   {}
stderr: