svn commit: r261013 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Wed Jan 22 09:30:36 UTC 2014


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


More information about the svn-src-user mailing list