svn commit: r266407 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Sun May 18 16:08:12 UTC 2014
Author: pho
Date: Sun May 18 16:08:11 2014
New Revision: 266407
URL: http://svnweb.freebsd.org/changeset/base/266407
Log:
Added cleanup in case nc(1) starts after the test program.
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/misc/sendfile2.sh
Modified: user/pho/stress2/misc/sendfile2.sh
==============================================================================
--- user/pho/stress2/misc/sendfile2.sh Sun May 18 16:07:35 2014 (r266406)
+++ user/pho/stress2/misc/sendfile2.sh Sun May 18 16:08:11 2014 (r266407)
@@ -50,6 +50,7 @@ md1=`md5 large`
nc -l 7000 > lf &
sleep 0.1
/tmp/sendfile2
+kill $! 2>/dev/null
md2=`md5 large`
[ "$md1" != "$md2" ] && printf "%s\n%s\n" "$md1" "$md2"
More information about the svn-src-user
mailing list