Results for osh-bugs.test.sh

statusoshosh-cpp
pass 33
FAIL 11
total44
caseoshosh-cppdescription
0pass pass var x = $(echo bad; false) in OSH
1pass pass var x = $(echo one; false; echo two) in OSH
2FAIL FAIL YSH $[expr_sub] in OSH should not do dynamic globbing
detailsdetails
3pass pass SHELLOPTS bug with ysh:ugprade
6 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

osh2 YSH $[expr_sub] in OSH should not do dynamic globbing

[osh stdout] Expected '*.txt\n' Got ''
[osh status] Expected 0 Got 1

stdout:
stderr: 
  *.txt
   ^
[ sh arith expr at ? ]:1

[??? no location ???] Unexpected token while parsing arithmetic: '.'
  *.txt
   ^
[ sh arith expr at ? ]:1

[??? no location ???] fatal: Parse error in recursive arithmetic
osh-cpp2 YSH $[expr_sub] in OSH should not do dynamic globbing

[osh-cpp stdout] Expected '*.txt\n' Got ''
[osh-cpp status] Expected 0 Got 1

stdout:
stderr: 
  *.txt
   ^
[ sh arith expr at ? ]:1

[??? no location ???] Unexpected token while parsing arithmetic: '.'
  *.txt
   ^
[ sh arith expr at ? ]:1

[??? no location ???] fatal: Parse error in recursive arithmetic