Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2019 12:13:58 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r349859 - user/pho/stress2/tools
Message-ID:  <201907091213.x69CDwrE095651@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Tue Jul  9 12:13:58 2019
New Revision: 349859
URL: https://svnweb.freebsd.org/changeset/base/349859

Log:
  Tests must run as root. Clear last known test.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/tools/splitall.sh

Modified: user/pho/stress2/tools/splitall.sh
==============================================================================
--- user/pho/stress2/tools/splitall.sh	Tue Jul  9 09:09:51 2019	(r349858)
+++ user/pho/stress2/tools/splitall.sh	Tue Jul  9 12:13:58 2019	(r349859)
@@ -33,6 +33,7 @@
 
 # Split the test list up in n parts and test one of them.
 
+[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
 [ $# -ne 2 ] && echo "Usage $0 <part number> <parts>" && exit 1
 
 pno=$1
@@ -55,6 +56,6 @@ n=`echo $lst | wc -w`
 part=`printf "/tmp/str%02d" $((pno - 1))`
 plist=`cat $part | tr '\n' ' '`
 rm -f /tmp/str0?
-echo "./all.sh -on $plist"
+echo "./all.sh -onc $plist"
 sleep 10
-./all.sh -on $plist
+./all.sh -onc $plist



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