Skip to content

Commit e51cd58

Browse files
authored
Merge pull request #594 from klemensn/test-killall
test: Use pkill(1) not killall(1)
2 parents 8974bab + d3e154b commit e51cd58

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/rtpw_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ key=Ky7cUDT2GnI0XKWYbXv9AYmqbcLsqzL9mvdN9t/G
6666

6767
ARGS="-b $key -a -e 128"
6868

69-
# First, we run "killall" to get rid of all existing rtpw processes.
69+
# First, we run "pkill" to get rid of all existing rtpw processes.
7070
# This step also enables this script to clean up after itself; if this
7171
# script is interrupted after the rtpw processes are started but before
7272
# they are killed, those processes will linger. Re-running the script
7373
# will get rid of them.
7474

75-
killall rtpw 2>/dev/null
75+
pkill -x rtpw 2>/dev/null
7676

7777
if test -n $MESON_EXE_WRAPPER || test -x $RTPW; then
7878

test/rtpw_test_gcm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ RTPW=./rtpw$EXE
6262
DEST_PORT=9999
6363
DURATION=3
6464

65-
# First, we run "killall" to get rid of all existing rtpw processes.
65+
# First, we run "pkill" to get rid of all existing rtpw processes.
6666
# This step also enables this script to clean up after itself; if this
6767
# script is interrupted after the rtpw processes are started but before
6868
# they are killed, those processes will linger. Re-running the script
6969
# will get rid of them.
7070

71-
killall rtpw 2>/dev/null
71+
pkill -x rtpw 2>/dev/null
7272

7373
if test -n $MESON_EXE_WRAPPER || test -x $RTPW; then
7474

0 commit comments

Comments
 (0)