Skip to content

Commit

Permalink
limit signals to 31
Browse files Browse the repository at this point in the history
  • Loading branch information
39555 committed Oct 26, 2024
1 parent 5489a81 commit 4fb4974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brush-shell/tests/cases/builtins/kill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ cases:
ignore_stderr: true
stdin: |
for i in $(seq 1 31); do kill -l $i; done
# limit the number of signals to 32. Realtime signals are not implemented yet.
for i in $(kill -l | sed -e "s/[[:digit:]]*)//g"); do echo $i; done | head -32
# limit the number of signals to 31. Realtime signals are not implemented yet.
for i in $(kill -l | sed -e "s/[[:digit:]]*)//g"); do echo $i; done | head -31
# invalid option
kill -l 9999
kill -l HUP
Expand Down

0 comments on commit 4fb4974

Please sign in to comment.