Date: Mon, 29 May 2017 08:57:50 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r319110 - user/pho/stress2/misc Message-ID: <201705290857.v4T8votD093316@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Mon May 29 08:57:50 2017 New Revision: 319110 URL: https://svnweb.freebsd.org/changeset/base/319110 Log: Fix error return status. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/mkfifo3.sh Modified: user/pho/stress2/misc/mkfifo3.sh ============================================================================== --- user/pho/stress2/misc/mkfifo3.sh Mon May 29 08:54:21 2017 (r319109) +++ user/pho/stress2/misc/mkfifo3.sh Mon May 29 08:57:50 2017 (r319110) @@ -56,9 +56,10 @@ for i in `jot 12`; do pgrep -q mkfifo3 || break sleep 10 done +s=0 if pgrep -q mkfifo3; then - echo FAIL - ps -l | grep -v grep | grep mkfifo3 + s=1 + pgrep mkfifo3 | xargs ps -lp pkill mkfifo3 fi wait
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705290857.v4T8votD093316>