Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2010 09:59:18 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201482 - head/tools/regression/usr.bin/lastcomm
Message-ID:  <201001040959.o049xIkw022645@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: obrien
Date: Mon Jan  4 09:59:18 2010
New Revision: 201482
URL: http://svn.freebsd.org/changeset/base/201482

Log:
  You need to be root to run this test.

Modified:
  head/tools/regression/usr.bin/lastcomm/values.sh

Modified: head/tools/regression/usr.bin/lastcomm/values.sh
==============================================================================
--- head/tools/regression/usr.bin/lastcomm/values.sh	Mon Jan  4 09:57:00 2010	(r201481)
+++ head/tools/regression/usr.bin/lastcomm/values.sh	Mon Jan  4 09:59:18 2010	(r201482)
@@ -12,6 +12,11 @@ run()
 	/usr/bin/time -l -o $1.time "$@"
 }
 
+if [ `whoami` != "root" ]; then
+	echo "You need to be root to run this test."
+	exit 1
+fi
+
 echo Redirecting accounting.
 
 mkdir $TMPDIR



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