Date: Fri, 29 May 2015 06:12:58 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r283683 - user/pho/stress2/misc Message-ID: <201505290612.t4T6CwIm036461@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Fri May 29 06:12:58 2015 New Revision: 283683 URL: https://svnweb.freebsd.org/changeset/base/283683 Log: Do not use /usr/libexec/cc1 as random big file; create your own. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/sendfile4.sh Modified: user/pho/stress2/misc/sendfile4.sh ============================================================================== --- user/pho/stress2/misc/sendfile4.sh Fri May 29 05:58:21 2015 (r283682) +++ user/pho/stress2/misc/sendfile4.sh Fri May 29 06:12:58 2015 (r283683) @@ -40,9 +40,12 @@ mycc -o sendfile4 -Wall -Wextra -O2 send rm -f sendfile4.c cd $here -/tmp/sendfile4 /usr/libexec/cc1 || echo FAIL +dd if=/dev/zero of=$diskimage bs=1m count=6 2>&1 | \ + egrep -v "records|transferred" -rm -f /tmp/sendfile4 +/tmp/sendfile4 $diskimage || echo FAIL + +rm -f /tmp/sendfile4 $diskimage exit EOF #include <sys/types.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505290612.t4T6CwIm036461>