diff options
| author | Peter Holm <pho@FreeBSD.org> | 2022-06-29 10:28:18 +0000 |
|---|---|---|
| committer | Peter Holm <pho@FreeBSD.org> | 2022-06-29 10:28:18 +0000 |
| commit | bc49526a561c4ed8dd2678fbaed44cbd97142753 (patch) | |
| tree | b5c24876d514b384b97502b59fbcfbdf9aa27be2 /tools | |
| parent | 026502d9edd84c0e18110c4c35d03852a1146c8e (diff) | |
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/test/stress2/misc/quota7.sh | 2 | ||||
| -rwxr-xr-x | tools/test/stress2/misc/quota8.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/stress2/misc/quota7.sh b/tools/test/stress2/misc/quota7.sh index 2e2fe6b7a52d..fa448e1f241d 100755 --- a/tools/test/stress2/misc/quota7.sh +++ b/tools/test/stress2/misc/quota7.sh @@ -66,7 +66,7 @@ for i in `jot 20`; do mksnap_ffs $mntpoint $mntpoint/.snap/snap$i sleep 1 done -i=$(($(date '+%S') % 20 + 1)) +i=$(($(date '+%s') % 20 + 1)) echo "rm -f $mntpoint/.snap/snap$i" rm -f $mntpoint/.snap/snap$i wait diff --git a/tools/test/stress2/misc/quota8.sh b/tools/test/stress2/misc/quota8.sh index 148c2d19ce65..b5c8a367d88c 100755 --- a/tools/test/stress2/misc/quota8.sh +++ b/tools/test/stress2/misc/quota8.sh @@ -74,7 +74,7 @@ for i in `jot 20`; do sleep 1 done # Remove random snapshot file -i=$((`date +%S` % 20 + 1)) +i=$((`date +%s` % 20 + 1)) echo "rm -f $mntpoint/.snap/snap$i" rm -f $mntpoint/.snap/snap$i wait |
