aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/procfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/procfs.sh')
-rwxr-xr-xtools/test/stress2/misc/procfs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/test/stress2/misc/procfs.sh b/tools/test/stress2/misc/procfs.sh
index 6b445b0d7e48..a59235c6d521 100755
--- a/tools/test/stress2/misc/procfs.sh
+++ b/tools/test/stress2/misc/procfs.sh
@@ -56,7 +56,8 @@ else
else
# The test: Parallel mount and unmounts
- for i in `jot 128`; do
+ start=`date +%s`
+ while [ $((`date +%s`- start)) -lt 300 ]; do
m=$1
mount -t procfs proc ${mntpoint}$m
while mount | grep -qw $mntpoint$m; do