Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2017 07:28:02 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r317675 - user/pho/stress2/misc
Message-ID:  <201705020728.v427S2Zi027154@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Tue May  2 07:28:01 2017
New Revision: 317675
URL: https://svnweb.freebsd.org/changeset/base/317675

Log:
  Adjust runtime.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/misc/msync.sh
  user/pho/stress2/misc/msync2.sh

Modified: user/pho/stress2/misc/msync.sh
==============================================================================
--- user/pho/stress2/misc/msync.sh	Tue May  2 06:54:48 2017	(r317674)
+++ user/pho/stress2/misc/msync.sh	Tue May  2 07:28:01 2017	(r317675)
@@ -45,9 +45,10 @@ mycc -o msync -Wall -Wextra msync.c -lpt
 rm -f msync.c
 cd $odir
 
-/tmp/msync
-
-killall msync > /dev/null 2>&1
+/tmp/msync &
+sleep 180
+while pkill -9 msync; do :; done
+wait
 rm -f /tmp/msync
 exit
 

Modified: user/pho/stress2/misc/msync2.sh
==============================================================================
--- user/pho/stress2/misc/msync2.sh	Tue May  2 06:54:48 2017	(r317674)
+++ user/pho/stress2/misc/msync2.sh	Tue May  2 07:28:01 2017	(r317675)
@@ -60,7 +60,7 @@ EOF
 #include <time.h>
 #include <unistd.h>
 
-#define RUNTIME 300
+#define RUNTIME 400
 
 const char *file;
 char c;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705020728.v427S2Zi027154>