svn commit: r261012 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Wed Jan 22 09:27:59 UTC 2014
Author: pho
Date: Wed Jan 22 09:27:58 2014
New Revision: 261012
URL: http://svnweb.freebsd.org/changeset/base/261012
Log:
Added the option of an external filter script for syscall tests.
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/misc/syscall5.sh
Modified: user/pho/stress2/misc/syscall5.sh
==============================================================================
--- user/pho/stress2/misc/syscall5.sh Wed Jan 22 09:25:16 2014 (r261011)
+++ user/pho/stress2/misc/syscall5.sh Wed Jan 22 09:27:58 2014 (r261012)
@@ -82,6 +82,11 @@ while [ $n -gt 0 ]; do
name=`grep -w $n /usr/include/sys/syscall.h | awk '{print $2}' |
sed 's/SYS_//'`
[ -z "$name" ] && name="unknown"
+ if [ -x ../tools/exclude_syscall.sh ]; then
+ name=`../tools/exclude_syscall.sh $n`
+ [ $name = "Excluded" ] &&
+ { n=$((n - 1)); continue; }
+ fi
echo "`date '+%T'` syscall $n ($name)" |
tee /dev/tty >> ./syscall5.log
printf "`date '+%T'` syscall $n ($name)\r\n" > /dev/console
More information about the svn-src-user
mailing list