Results for let.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 2010110210
ok 0001000000
N-I 0001100000
FAIL 0210012012
total2222222222
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0pass FAIL pass ok pass pass FAIL pass pass FAIL let
detailsdetailsdetailsdetails
1pass FAIL FAIL N-I N-I FAIL FAIL pass FAIL FAIL let with ()
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
8 passed, 1 OK, 2 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

dash0 let

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

stdout:
stderr: 
dash: 1: let: not found
dash: 2: let: not found
dash: 3: let: not found
dash: 4: let: not found
zsh0 let

stdout:
stderr: 
zsh: no matches found: z=y*3
toysh0 let

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

stdout:
stderr: 
sh: let: No such file or directory
sh: let: No such file or directory
sh: let: No such file or directory
sh: let: No such file or directory
osh0 let

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

stdout:
stderr: 
  let x=1
  ^~~
[ stdin ]:1: Command 'let' not found (OILS-ERR-100)
  let y=x+2
  ^~~
[ stdin ]:2: Command 'let' not found (OILS-ERR-100)
  let z=y*3  # zsh treats this as a glob; bash doesn't
  ^~~
[ stdin ]:3: Command 'let' not found (OILS-ERR-100)
  let z2='y*3'  # both are OK with this
  ^~~
[ stdin ]:4: Command 'let' not found (OILS-ERR-100)
dash1 let with ()

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

stdout:
stderr: 
dash: 1: Syntax error: "(" unexpected
ash1 let with ()

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

stdout:
stderr: 
ash: syntax error: unexpected "("
zsh1 let with ()

stdout:
stderr: 
zsh: unknown file attribute:  
mksh1 let with ()

stdout:
stderr: 
mksh: <stdin>[1]: syntax error: '(' unexpected
ksh1 let with ()

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

stdout:
stderr: 
E: ksh: <stdin>[1]: syntax error: unexpected '('
toysh1 let with ()

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

stdout:
stderr: 
main: line 1: sh: syntax error: )
brush1 let with ()

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

stdout:
1
stderr:
ERROR failed to parse arithmetic expression
ERROR failed to parse arithmetic expression
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 associative array literal