svn commit: r249231 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Sun Apr 7 11:05:38 UTC 2013
Author: pho
Date: Sun Apr 7 11:05:38 2013
New Revision: 249231
URL: http://svnweb.freebsd.org/changeset/base/249231
Log:
Do not run tests as root.
Modified:
user/pho/stress2/misc/nfs4.sh
Modified: user/pho/stress2/misc/nfs4.sh
==============================================================================
--- user/pho/stress2/misc/nfs4.sh Sun Apr 7 11:04:33 2013 (r249230)
+++ user/pho/stress2/misc/nfs4.sh Sun Apr 7 11:05:38 2013 (r249231)
@@ -1,7 +1,7 @@
#!/bin/sh
#
-# Copyright (c) 2008 Peter Holm <pho at FreeBSD.org>
+# Copyright (c) 2008-2013 Peter Holm <pho at FreeBSD.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -45,7 +45,7 @@ export RUNDIR=$mntpoint/nfs/stressX
export runRUNTIME=3m
rm -rf /tmp/stressX.control/*
-(cd ..; ./run.sh all.cfg) &
+su $testuser -c '(cd ..; ./run.sh all.cfg)' &
sleep 60
while mount | grep -q $mntpoint; do
More information about the svn-src-user
mailing list