diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/cert-hostkey.sh | 2 | ||||
-rw-r--r-- | regress/cert-userkey.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh index 86ea62504..844adabcc 100644 --- a/regress/cert-hostkey.sh +++ b/regress/cert-hostkey.sh | |||
@@ -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 38c14a698..5cd02fc3f 100644 --- a/regress/cert-userkey.sh +++ b/regress/cert-userkey.sh | |||
@@ -338,7 +338,7 @@ test_one() { | |||
338 | test_one "correct principal" success "-n ${USER}" | 338 | test_one "correct principal" success "-n ${USER}" |
339 | test_one "host-certificate" failure "-n ${USER} -h" | 339 | test_one "host-certificate" failure "-n ${USER} -h" |
340 | test_one "wrong principals" failure "-n foo" | 340 | test_one "wrong principals" failure "-n foo" |
341 | test_one "cert not yet valid" failure "-n ${USER} -V20200101:20300101" | 341 | test_one "cert not yet valid" failure "-n ${USER} -V20300101:20320101" |
342 | test_one "cert expired" failure "-n ${USER} -V19800101:19900101" | 342 | test_one "cert expired" failure "-n ${USER} -V19800101:19900101" |
343 | test_one "cert valid interval" success "-n ${USER} -V-1w:+2w" | 343 | test_one "cert valid interval" success "-n ${USER} -V-1w:+2w" |
344 | test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8" | 344 | test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8" |