Results for let.test.sh

statusoshosh_.pyosh_.cc
FAIL 222
total222
caseoshosh_.pyosh_.ccdescription
0FAIL FAIL FAIL let
detailsdetailsdetails
1FAIL FAIL FAIL let with ()
detailsdetailsdetails
0 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh0 let

[osh stdout] Expected '1 3 9 9\n', got '\n'

stdout:
stderr: 
  let x=1
  ^~~
[ stdin ]:1: 'let' not found
  let y=x+2
  ^~~
[ stdin ]:2: 'let' not found
  let z=y*3  # zsh treats this as a glob; bash doesn't
  ^~~
[ stdin ]:3: 'let' not found
  let z2='y*3'  # both are OK with this
  ^~~
[ stdin ]:4: 'let' not found
osh_.py0 let

[osh_.py stdout] Expected '1 3 9 9\n', got "(cmd_value.Argv argv:[let 'x=1'] arg_spids:[0 2])\n(cmd_value.Argv argv:[let 'y=x+2'] arg_spids:[5 7])\n(cmd_value.Argv argv:[let 'z=y*3'] arg_spids:[12 14])\n(cmd_value.Argv argv:[let 'z2=y*3'] arg_spids:[22 24])\n\n"

stdout:
(cmd_value.Argv argv:[let 'x=1'] arg_spids:[0 2])
(cmd_value.Argv argv:[let 'y=x+2'] arg_spids:[5 7])
(cmd_value.Argv argv:[let 'z=y*3'] arg_spids:[12 14])
(cmd_value.Argv argv:[let 'z2=y*3'] arg_spids:[22 24])

stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc0 let

[osh_.cc stdout] Expected '1 3 9 9\n', got "(cmd_value.Argv argv:[let 'x=1'] arg_spids:[0 2])\n(cmd_value.Argv argv:[let 'y=x+2'] arg_spids:[5 7])\n"
[osh_.cc status] Expected 0, got -6

stdout:
(cmd_value.Argv argv:[let 'x=1'] arg_spids:[0 2])
(cmd_value.Argv argv:[let 'y=x+2'] arg_spids:[5 7])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_eval.dbg: cpp/libc.h:37: List<Str *> *libc::glob(Str *): Assertion `0' failed.
osh1 let with ()

[osh stdout] Expected '1 3 9\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  let x=( 1 )
        ^
[ stdin ]:1: fatal: Unexpected array literal
osh_.py1 let with ()

[osh_.py stdout] Expected '1 3 9\n', got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  let x=( 1 )
        ^
[ stdin ]:1: fatal: Unexpected array literal
osh_.cc1 let with ()

[osh_.cc stdout] Expected '1 3 9\n', got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  let x=( 1 )
  ^~~
[ stdin ]:1: fatal: Unexpected array literal