Date: Sun, 7 Apr 2013 11:04:33 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r249230 - user/pho/stress2/misc Message-ID: <201304071104.r37B4XIo017032@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org> +# Copyright (c) 2008-2013 Peter Holm <pho@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304071104.r37B4XIo017032>