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

Peter Holm pho at FreeBSD.org
Mon Nov 4 11:46:51 UTC 2013


Author: pho
Date: Mon Nov  4 11:46:50 2013
New Revision: 257629
URL: http://svnweb.freebsd.org/changeset/base/257629

Log:
  Create own input file.
  
  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	Mon Nov  4 11:44:21 2013	(r257628)
+++ user/pho/stress2/misc/sendfile2.sh	Mon Nov  4 11:46:50 2013	(r257629)
@@ -43,7 +43,8 @@ rm -f sendfile2.c
 [ -d "$RUNDIR" ] || mkdir -p $RUNDIR
 cd $RUNDIR
 
-cp /usr/lib/libc_pic.a large
+dd if=/dev/random of=large bs=1m count=3 2>&1 |
+    egrep -v "records|transferred"
 md1=`md5 large`
 
 nc -l 7000 > lf &


More information about the svn-src-user mailing list