diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-01-03 03:02:26 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-01-04 10:14:21 +1100 |
commit | ff31f15773ee173502eec4d7861ec56f26bba381 (patch) | |
tree | ce510f939b9576951618378ad69691b165aa1032 | |
parent | 680eb7749a39d0e4d046e66cac4e51e8e3640b75 (diff) |
upstream: what bozo decided to use 2020 as a future date in a regress
test?
OpenBSD-Regress-ID: 3b953df5a7e14081ff6cf495d4e8d40e153cbc3a
-rw-r--r-- | regress/cert-hostkey.sh | 4 | ||||
-rw-r--r-- | regress/cert-userkey.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh index 95d7c176a..097bf8463 100644 --- a/regress/cert-hostkey.sh +++ b/regress/cert-hostkey.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: cert-hostkey.sh,v 1.22 2019/12/16 02:39:05 djm Exp $ | 1 | # $OpenBSD: cert-hostkey.sh,v 1.23 2020/01/03 03:02:26 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="certified host keys" | 4 | tid="certified host keys" |
@@ -252,7 +252,7 @@ test_one() { | |||
252 | test_one "user-certificate" failure "-n $HOSTS" | 252 | test_one "user-certificate" failure "-n $HOSTS" |
253 | test_one "empty principals" success "-h" | 253 | test_one "empty principals" success "-h" |
254 | test_one "wrong principals" failure "-h -n foo" | 254 | test_one "wrong principals" failure "-h -n foo" |
255 | test_one "cert not yet valid" failure "-h -V20200101:20300101" | 255 | test_one "cert not yet valid" failure "-h -V20300101:20320101" |
256 | test_one "cert expired" failure "-h -V19800101:19900101" | 256 | test_one "cert expired" failure "-h -V19800101:19900101" |
257 | test_one "cert valid interval" success "-h -V-1w:+2w" | 257 | test_one "cert valid interval" success "-h -V-1w:+2w" |
258 | test_one "cert has constraints" failure "-h -Oforce-command=false" | 258 | test_one "cert has constraints" failure "-h -Oforce-command=false" |
diff --git a/regress/cert-userkey.sh b/regress/cert-userkey.sh index 87d30d27b..91596fa78 100644 --- a/regress/cert-userkey.sh +++ b/regress/cert-userkey.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: cert-userkey.sh,v 1.24 2019/12/11 18:47:14 djm Exp $ | 1 | # $OpenBSD: cert-userkey.sh,v 1.25 2020/01/03 03:02:26 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="certified user keys" | 4 | tid="certified user keys" |
@@ -340,7 +340,7 @@ test_one() { | |||
340 | test_one "correct principal" success "-n ${USER}" | 340 | test_one "correct principal" success "-n ${USER}" |
341 | test_one "host-certificate" failure "-n ${USER} -h" | 341 | test_one "host-certificate" failure "-n ${USER} -h" |
342 | test_one "wrong principals" failure "-n foo" | 342 | test_one "wrong principals" failure "-n foo" |
343 | test_one "cert not yet valid" failure "-n ${USER} -V20200101:20300101" | 343 | test_one "cert not yet valid" failure "-n ${USER} -V20300101:20320101" |
344 | test_one "cert expired" failure "-n ${USER} -V19800101:19900101" | 344 | test_one "cert expired" failure "-n ${USER} -V19800101:19900101" |
345 | test_one "cert valid interval" success "-n ${USER} -V-1w:+2w" | 345 | test_one "cert valid interval" success "-n ${USER} -V-1w:+2w" |
346 | test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8" | 346 | test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8" |