git: c5d6dd80b54b - main - stress2: Wait for the "swap" program to terminate

Peter Holm pho at FreeBSD.org
Mon Jul 5 07:18:05 UTC 2021


The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=c5d6dd80b54b61fcebbd2914de79d04d12d5b8f8

commit c5d6dd80b54b61fcebbd2914de79d04d12d5b8f8
Author:     Peter Holm <pho at FreeBSD.org>
AuthorDate: 2021-07-05 07:16:32 +0000
Commit:     Peter Holm <pho at FreeBSD.org>
CommitDate: 2021-07-05 07:16:32 +0000

    stress2: Wait for the "swap" program to terminate
---
 tools/test/stress2/misc/syzkaller20.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/test/stress2/misc/syzkaller20.sh b/tools/test/stress2/misc/syzkaller20.sh
index 43c961983bf1..15a16bf41fd0 100755
--- a/tools/test/stress2/misc/syzkaller20.sh
+++ b/tools/test/stress2/misc/syzkaller20.sh
@@ -102,6 +102,7 @@ mycc -o /tmp/syzkaller20 -Wall -Wextra -O2 /tmp/syzkaller20.c -lpthread ||
 (cd /tmp; ./syzkaller20) &
 sleep 60
 pkill -9 syzkaller20 swap
+while pgrep -q swap; do pkill swap; done
 wait
 
 rm -f /tmp/syzkaller20 /tmp/syzkaller20.c /tmp/syzkaller20.core


More information about the dev-commits-src-all mailing list