diff options
author | obrien <obrien@FreeBSD.org> | 2010-01-04 09:59:18 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-01-04 09:59:18 +0000 |
commit | 7c3c566c898c3b6c1239ba8c857719aa722218e7 (patch) | |
tree | b66aea79915b9e497158d3f133d8264ec6051a58 /tools | |
parent | 4e367e421420c39f0b7e0084661f69370c823fd2 (diff) | |
download | FreeBSD-src-7c3c566c898c3b6c1239ba8c857719aa722218e7.zip FreeBSD-src-7c3c566c898c3b6c1239ba8c857719aa722218e7.tar.gz |
You need to be root to run this test.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/usr.bin/lastcomm/values.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/lastcomm/values.sh b/tools/regression/usr.bin/lastcomm/values.sh index ef2e015..6c20954 100644 --- a/tools/regression/usr.bin/lastcomm/values.sh +++ b/tools/regression/usr.bin/lastcomm/values.sh @@ -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 |