Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 09:30:36 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r261013 - user/pho/stress2/misc
Message-ID:  <201401220930.s0M9Ua3K061108@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Wed Jan 22 09:30:36 2014
New Revision: 261013
URL: http://svnweb.freebsd.org/changeset/base/261013

Log:
  Only run ipcrm(1) for the user "nobody".
  Exclude thr_create() from tests.
  
  Sponsored by:	EMC / Isilon storage division

Modified:
  user/pho/stress2/misc/syscall4.sh

Modified: user/pho/stress2/misc/syscall4.sh
==============================================================================
--- user/pho/stress2/misc/syscall4.sh	Wed Jan 22 09:27:58 2014	(r261012)
+++ user/pho/stress2/misc/syscall4.sh	Wed Jan 22 09:30:36 2014	(r261013)
@@ -73,7 +73,8 @@ while [ $((`date '+%s'` - st)) -lt $((10
 		    killall $q -9 syscall4
 	fi
 	wait
-	ipcs | awk '/^(q|m|s)/ {print " -" $1, $2}' | xargs -L 1 ipcrm
+	ipcs | grep nobody | awk '/^(q|m|s)/ {print " -" $1, $2}' |
+	    xargs -L 1 ipcrm
 done
 killall $q -9 syscall4
 ps aux | grep -v grep | egrep "syscall4" | egrep -v "\.sh" &&
@@ -132,6 +133,7 @@ static int ignore[] = {
 	SYS_sigtimedwait,
 	SYS_sigwaitinfo,
 #if       __FreeBSD_version <  804500
+	SYS_thr_create,
 	SYS_thr_new,
 #endif
 #if       __FreeBSD_version >= 900041



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401220930.s0M9Ua3K061108>