diff options
author | Colin Watson <cjwatson@debian.org> | 2016-02-29 12:15:15 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-03-08 11:51:22 +0000 |
commit | 46961f5704f8e86cea3e99253faad55aef4d8f35 (patch) | |
tree | 0dd97fa4fb649a62b4639fe2674380872b1f3e98 /regress/rekey.sh | |
parent | c753fe267efb1b027424fa8706cf0385fc3d14c1 (diff) | |
parent | 85e40e87a75fb80a0bf893ac05a417d6c353537d (diff) |
New upstream release (7.2).
Diffstat (limited to 'regress/rekey.sh')
-rw-r--r-- | regress/rekey.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/rekey.sh b/regress/rekey.sh index 0d4444d03..ae145bc8b 100644 --- a/regress/rekey.sh +++ b/regress/rekey.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: rekey.sh,v 1.16 2015/02/14 12:43:16 markus Exp $ | 1 | # $OpenBSD: rekey.sh,v 1.17 2016/01/29 05:18:15 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="rekey" | 4 | tid="rekey" |
@@ -137,13 +137,15 @@ for s in 5 10; do | |||
137 | done | 137 | done |
138 | 138 | ||
139 | verbose "rekeylimit parsing" | 139 | verbose "rekeylimit parsing" |
140 | for size in 16 1k 1K 1m 1M 1g 1G; do | 140 | for size in 16 1k 1K 1m 1M 1g 1G 4G 8G; do |
141 | for time in 1 1m 1M 1h 1H 1d 1D 1w 1W; do | 141 | for time in 1 1m 1M 1h 1H 1d 1D 1w 1W; do |
142 | case $size in | 142 | case $size in |
143 | 16) bytes=16 ;; | 143 | 16) bytes=16 ;; |
144 | 1k|1K) bytes=1024 ;; | 144 | 1k|1K) bytes=1024 ;; |
145 | 1m|1M) bytes=1048576 ;; | 145 | 1m|1M) bytes=1048576 ;; |
146 | 1g|1G) bytes=1073741824 ;; | 146 | 1g|1G) bytes=1073741824 ;; |
147 | 4g|4G) bytes=4294967296 ;; | ||
148 | 8g|8G) bytes=8589934592 ;; | ||
147 | esac | 149 | esac |
148 | case $time in | 150 | case $time in |
149 | 1) seconds=1 ;; | 151 | 1) seconds=1 ;; |