svn commit: r317498 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Thu Apr 27 11:25:59 UTC 2017
Author: pho
Date: Thu Apr 27 11:25:57 2017
New Revision: 317498
URL: https://svnweb.freebsd.org/changeset/base/317498
Log:
Remove unneeded "/" from path names.
Sponsored by: Dell EMC Isilon
Modified:
user/pho/stress2/misc/tmpfs4.sh
Modified: user/pho/stress2/misc/tmpfs4.sh
==============================================================================
--- user/pho/stress2/misc/tmpfs4.sh Thu Apr 27 11:22:13 2017 (r317497)
+++ user/pho/stress2/misc/tmpfs4.sh Thu Apr 27 11:25:57 2017 (r317498)
@@ -38,9 +38,9 @@ mount | grep "$mntpoint" | grep -q tmpfs
mount -t tmpfs tmpfs $mntpoint
for i in `jot 100`; do
- mkdir -p /${mntpoint}/1/2
- cd /${mntpoint}/1/2
- rm -rf /${mntpoint}/1
+ mkdir -p ${mntpoint}/1/2
+ cd ${mntpoint}/1/2
+ rm -rf ${mntpoint}/1
cd .. 2>&1 | grep -v "cd: \.\.: No such file or directory"
done
More information about the svn-src-user
mailing list