svn commit: r249230 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Sun Apr 7 11:04:33 UTC 2013
Author: pho
Date: Sun Apr 7 11:04:33 2013
New Revision: 249230
URL: http://svnweb.freebsd.org/changeset/base/249230
Log:
Do not run the tests as root.
Modified:
user/pho/stress2/misc/nfs3.sh
Modified: user/pho/stress2/misc/nfs3.sh
==============================================================================
--- user/pho/stress2/misc/nfs3.sh Sun Apr 7 10:58:04 2013 (r249229)
+++ user/pho/stress2/misc/nfs3.sh Sun Apr 7 11:04:33 2013 (r249230)
@@ -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,9 +45,7 @@ export RUNDIR=$mntpoint/nfs/stressX
export runRUNTIME=1m
rm -rf /tmp/stressX.control/*
-cd ..
-./run.sh -a &
-cd -
+su $testuser -c "(cd ..; ./run.sh -a > /dev/null 2>&1)" &
sleep 50
while mount | grep -q $mntpoint; do
More information about the svn-src-user
mailing list