Date: Wed, 19 Jan 2011 09:47:20 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r217575 - projects/stress2/misc Message-ID: <201101190947.p0J9lKnl070570@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Wed Jan 19 09:47:20 2011 New Revision: 217575 URL: http://svn.freebsd.org/changeset/base/217575 Log: Changed full path references to relative. Modified: projects/stress2/misc/lookup_shared.sh projects/stress2/misc/md2.sh projects/stress2/misc/md3.sh projects/stress2/misc/mountro.sh projects/stress2/misc/newfs.sh projects/stress2/misc/newfs2.sh projects/stress2/misc/newfs3.sh projects/stress2/misc/nfs.sh projects/stress2/misc/nfs2.sh projects/stress2/misc/nfs5.sh projects/stress2/misc/nfs6.sh projects/stress2/misc/nfsrename.sh projects/stress2/misc/pmc.sh projects/stress2/misc/quota1.sh projects/stress2/misc/quota2.sh projects/stress2/misc/quota3.sh projects/stress2/misc/quota5.sh projects/stress2/misc/tmpfs.sh projects/stress2/misc/tmpfs3.sh projects/stress2/misc/umount.sh projects/stress2/misc/umountf.sh projects/stress2/misc/unionfs.sh projects/stress2/misc/unionfs2.sh Modified: projects/stress2/misc/lookup_shared.sh ============================================================================== --- projects/stress2/misc/lookup_shared.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/lookup_shared.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -35,7 +35,7 @@ saved=`sysctl vfs.lookup_shared | awk '{ export runRUNTIME=10m # Run tests for 10 minutes for i in 1 0; do sysctl vfs.lookup_shared=$i - (cd /home/pho/stress2; ./run.sh disk.cfg) + (cd ..; ./run.sh disk.cfg) done sysctl vfs.lookup_shared=$saved Modified: projects/stress2/misc/md2.sh ============================================================================== --- projects/stress2/misc/md2.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/md2.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -46,7 +46,7 @@ for i in 1 2; do export RUNDIR=$mntpoint/stressX export runRUNTIME=10m - cd /home/pho/stress2; ./run.sh + cd ..; ./run.sh umount ${mntpoint} done Modified: projects/stress2/misc/md3.sh ============================================================================== --- projects/stress2/misc/md3.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/md3.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2009 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2009-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -51,7 +51,7 @@ export INODES=$(($2 / 10 * 7)) export RUNDIR=$mntpoint/stressX export runRUNTIME=10m -(cd /home/pho/stress2; ./run.sh marcus.cfg) +(cd ..; ./run.sh marcus.cfg) umount $mntpoint mount | grep -q "$mntpoint" && umount -f $mntpoint Modified: projects/stress2/misc/mountro.sh ============================================================================== --- projects/stress2/misc/mountro.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/mountro.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -50,7 +50,7 @@ chmod 777 ${mntpoint}/stressX export RUNDIR=${mntpoint}/stressX export runRUNTIME=4m -(cd /home/pho/stress2; ./run.sh disk.cfg) & +(cd ..; ./run.sh disk.cfg) & sleep 30 for i in `jot 10`; do Modified: projects/stress2/misc/newfs.sh ============================================================================== --- projects/stress2/misc/newfs.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/newfs.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -54,7 +54,7 @@ for opt in "-O1" "-O2" "-O2 -U"; do mount /dev/md${mdstart}${part} $mntpoint export RUNDIR=$mntpoint/stressX export runRUNTIME=4m - (cd /home/pho/stress2; ./run.sh disk.cfg) + (cd ..; ./run.sh disk.cfg) while mount | grep "$mntpoint" | grep -q md${mdstart}${part}; do umount $mntpoint > /dev/null 2>&1 done Modified: projects/stress2/misc/newfs2.sh ============================================================================== --- projects/stress2/misc/newfs2.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/newfs2.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -49,7 +49,7 @@ while [ $size -le $((900 * 1024 * 1024)) df -i $mntpoint export RUNDIR=$mntpoint/stressX export runRUNTIME=10m # Run tests for 10 minutes - (cd /home/pho/stress2; ./run.sh disk.cfg) + (cd ..; ./run.sh disk.cfg) while mount | grep "$mntpoint" | grep -q md${mdstart}${part}; do umount $mntpoint > /dev/null 2>&1 done Modified: projects/stress2/misc/newfs3.sh ============================================================================== --- projects/stress2/misc/newfs3.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/newfs3.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -59,7 +59,7 @@ while [ $size -le $((128 * 1024 * 1024)) mount /dev/md${mdstart}${part} $mntpoint export RUNDIR=$mntpoint/stressX export runRUNTIME=5m - (cd /home/pho/stress2; ./run.sh disk.cfg) + (cd ..; ./run.sh disk.cfg) while mount | grep "$mntpoint" | grep -q md${mdstart}${part}; do umount $mntpoint > /dev/null 2>&1 done Modified: projects/stress2/misc/nfs.sh ============================================================================== --- projects/stress2/misc/nfs.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/nfs.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -40,7 +40,7 @@ mount -t nfs -o tcp -o retrycnt=3 -o int export RUNDIR=$mntpoint/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh disk.cfg) +(cd ..; ./run.sh disk.cfg) while mount | grep "$mntpoint" | grep -q nfs; do umount $mntpoint Modified: projects/stress2/misc/nfs2.sh ============================================================================== --- projects/stress2/misc/nfs2.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/nfs2.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -59,7 +59,7 @@ mount -t nfs -o tcp -o retrycnt=3 -o int export INODES=9999 # No inodes on a msdos fs export RUNDIR=${mntpoint}2/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh disk.cfg) +(cd ..; ./run.sh disk.cfg) umount -f ${mntpoint}2 > /dev/null 2>&1 umount -f $mntpoint > /dev/null 2>&1 Modified: projects/stress2/misc/nfs5.sh ============================================================================== --- projects/stress2/misc/nfs5.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/nfs5.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -56,7 +56,7 @@ mount -t nfs -o tcp -o retrycnt=3 -o int export RUNDIR=${mntpoint}2/stressX export runRUNTIME=4m -(cd /home/pho/stress2; ./run.sh disk.cfg) & +(cd ..; ./run.sh disk.cfg) & sleep 60 umount -f $mntpoint > /dev/null 2>&1 Modified: projects/stress2/misc/nfs6.sh ============================================================================== --- projects/stress2/misc/nfs6.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/nfs6.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -57,7 +57,7 @@ mount -t nfs -o tcp -o retrycnt=3 -o int export RUNDIR=${mntpoint}2/stressX export runRUNTIME=4m -(cd /home/pho/stress2; ./run.sh disk.cfg) & +(cd ..; ./run.sh disk.cfg) & sleep 60 for i in `jot 10`; do Modified: projects/stress2/misc/nfsrename.sh ============================================================================== --- projects/stress2/misc/nfsrename.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/nfsrename.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without Modified: projects/stress2/misc/pmc.sh ============================================================================== --- projects/stress2/misc/pmc.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/pmc.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008-2009 Peter Holm +# Copyright (c) 2008-2011 Peter Holm # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -41,7 +41,7 @@ for i in `jot 2`; do done export runRUNTIME=5m -(cd /home/pho/stress2; ./run.sh vfs.cfg) +(cd ..; ./run.sh vfs.cfg) for i in `jot 2`; do wait Modified: projects/stress2/misc/quota1.sh ============================================================================== --- projects/stress2/misc/quota1.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/quota1.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -48,7 +48,7 @@ newfs -U md${mdstart}${part} > /dev/nul mount /dev/md${mdstart}${part} ${mntpoint} export RUNDIR=${mntpoint}/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh disk.cfg) +(cd ..; ./run.sh disk.cfg) false while mount | grep -q ${mntpoint}; do umount ${mntpoint} > /dev/null 2>&1 Modified: projects/stress2/misc/quota2.sh ============================================================================== --- projects/stress2/misc/quota2.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/quota2.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ df -i ${mntpoint} sed -i -e "/md${mdstart}${part}/d" /etc/fstab # clean up before any panics export RUNDIR=${mntpoint}/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh disk.cfg) +(cd ..; ./run.sh disk.cfg) false while [ $? -ne 0 ]; do umount ${mntpoint} > /dev/null 2>&1 Modified: projects/stress2/misc/quota3.sh ============================================================================== --- projects/stress2/misc/quota3.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/quota3.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -53,7 +53,7 @@ sed -i -e "/md${mdstart}${part}/d" /etc/ mksnap_ffs ${mntpoint} ${mntpoint}/.snap/pho export RUNDIR=${mntpoint}/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh disk.cfg) +(cd ..; ./run.sh disk.cfg) false while mount | grep -q ${mntpoint}; do umount ${mntpoint} > /dev/null 2>&1 Modified: projects/stress2/misc/quota5.sh ============================================================================== --- projects/stress2/misc/quota5.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/quota5.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -39,6 +39,6 @@ edquota -g -f /tmp -e /tmp:1500000:14000 quotaon /tmp #su pho -c "export runRUNTIME=60m; cd /home/pho/stress2; ./run.sh disk.cfg" -su pho -c "export runRUNTIME=60m; cd /home/pho/stress2/testcases/mkdir; ./mkdir -t 1h -i 200 -v -v" +su pho -c "export runRUNTIME=60m; cd ..; ./mkdir -t 1h -i 200 -v -v" quotaoff /tmp Modified: projects/stress2/misc/tmpfs.sh ============================================================================== --- projects/stress2/misc/tmpfs.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/tmpfs.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2009 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2009-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -40,7 +40,7 @@ mount -t tmpfs tmpfs $mntpoint export RUNDIR=$mntpoint/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh marcus.cfg) +(cd ..; ./run.sh marcus.cfg) umount $mntpoint mount | grep "$mntpoint" | grep -q tmpfs && umount -f $mntpoint Modified: projects/stress2/misc/tmpfs3.sh ============================================================================== --- projects/stress2/misc/tmpfs3.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/tmpfs3.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2009 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2009-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -40,7 +40,7 @@ mount -t tmpfs tmpfs $mntpoint export RUNDIR=$mntpoint/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh vfs.cfg) +(cd ..; ./run.sh vfs.cfg) umount $mntpoint mount | grep "$mntpoint" | grep -q tmpfs && umount -f $mntpoint Modified: projects/stress2/misc/umount.sh ============================================================================== --- projects/stress2/misc/umount.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/umount.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -46,7 +46,7 @@ newfs md${mdstart}${part} mount /dev/md${mdstart}${part} $mntpoint export RUNDIR=$mntpoint/stressX export runRUNTIME=3m # Run tests for three minutes -(cd /home/pho/stress2; ./run.sh vfs.cfg) +(cd ..; ./run.sh vfs.cfg) umount $mntpoint mdconfig -d -u ${mdstart} rm -f $D Modified: projects/stress2/misc/umountf.sh ============================================================================== --- projects/stress2/misc/umountf.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/umountf.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -47,7 +47,7 @@ mount /dev/md${mdstart}${part} $mntpoint export RUNDIR=$mntpoint/stressX export runRUNTIME=2m -cd /home/pho/stress2; ./run.sh vfs.cfg & +cd ..; ./run.sh vfs.cfg & pid=$! sleep 30 Modified: projects/stress2/misc/unionfs.sh ============================================================================== --- projects/stress2/misc/unionfs.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/unionfs.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -46,7 +46,7 @@ mount /dev/md0c /mnt mount -t unionfs -o noatime /mnt /tmp export RUNDIR=/tmp/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd /home/pho/stress2; ./run.sh disk.cfg) +(cd ..; ./run.sh disk.cfg) mount | grep "/mnt" | grep md0c > /dev/null && umount /mnt mount | grep "/mnt" | grep md0c > /dev/null && umount -f /mnt mdconfig -d -u 0 Modified: projects/stress2/misc/unionfs2.sh ============================================================================== --- projects/stress2/misc/unionfs2.sh Wed Jan 19 07:44:47 2011 (r217574) +++ projects/stress2/misc/unionfs2.sh Wed Jan 19 09:47:20 2011 (r217575) @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org> +# Copyright (c) 2008-2011 Peter Holm <pho@FreeBSD.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -38,7 +38,7 @@ for i in 1 0; do export RUNDIR=/var/tmp/unionfs/stressX export runRUNTIME=10m # Run tests for 10 minutes - (cd /home/pho/stress2; ./run.sh disk.cfg) + (cd ..; ./run.sh disk.cfg) false while mount | grep -q /unionfs; do umount /tmp/stressX > /dev/null 2>&1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101190947.p0J9lKnl070570>