svn commit: r201482 - head/tools/regression/usr.bin/lastcomm

David E. O'Brien obrien at FreeBSD.org
Mon Jan 4 09:59:18 UTC 2010


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


More information about the svn-src-all mailing list