svn commit: r279627 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Thu Mar 5 08:47:55 UTC 2015
Author: pho
Date: Thu Mar 5 08:47:54 2015
New Revision: 279627
URL: https://svnweb.freebsd.org/changeset/base/279627
Log:
Do not assume we can write to /dev/tty.
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/misc/syscall.sh
Modified: user/pho/stress2/misc/syscall.sh
==============================================================================
--- user/pho/stress2/misc/syscall.sh Thu Mar 5 07:40:41 2015 (r279626)
+++ user/pho/stress2/misc/syscall.sh Thu Mar 5 08:47:54 2015 (r279627)
@@ -48,7 +48,8 @@ n=$syscall
rm -f /tmp/syscall.log
while [ $n -gt 0 ]; do
- echo "`date '+%T'` syscall $n" | tee /dev/tty >> /tmp/syscall.log
+ echo "`date '+%T'` syscall $n"
+ echo "`date '+%T'` syscall $n" >> /tmp/syscall.log
for i in `jot 5`; do
su ${testuser} -c "sh -c \"../testcases/syscall/syscall -t 30s -i 100 -h -l 100 -k $n\""
done
More information about the svn-src-user
mailing list