Results for builtin-kill.test.sh

statusdashbashmkshzshosh
pass 02120
ok 20000
FAIL 00102
total22222
casedashbashmkshzshoshdescription
0ok pass FAIL pass FAIL Kills the process with SIGTERM
detailsdetailsdetails
1ok pass pass pass FAIL Kills the process with SIGKILL
detailsdetails
5 passed, 2 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

dash0 Kills the process with SIGTERM

stdout:
0
stderr:
dash: 3: builtin: not found
mksh0 Kills the process with SIGTERM

[mksh stdout] Expected '0\n', got '143\n'

stdout:
143
stderr:
osh0 Kills the process with SIGTERM

[osh stdout] Expected '143\n', got '0\n'

stdout:
0
stderr:
  builtin kill -15 $pid
          ^~~~
[ stdin ]:3: 'kill' isn't a shell builtin
dash1 Kills the process with SIGKILL

stdout:
0
stderr:
dash: 3: builtin: not found
osh1 Kills the process with SIGKILL

[osh stdout] Expected '137\n', got '0\n'

stdout:
0
stderr:
  builtin kill -9 $pid
          ^~~~
[ stdin ]:3: 'kill' isn't a shell builtin