Skip to content

Commit

Permalink
Shell: added process.kill() test.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeioex committed Nov 1, 2024
1 parent 362ed7c commit 3834d27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/shell_test.exp
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ njs_run {"-c" "console.log(process.pid)"} "\\d+"
njs_run {"-c" "console.log(process.ppid)"} "\\d+"

njs_run {"-c" "console.log(process.kill(process.pid, 0))"} "true"
njs_run {"-c" "console.log(process.kill(process.pid, 'SIGCHLD'))"} "true"


# script args
Expand Down

0 comments on commit 3834d27

Please sign in to comment.