diff options
author | Theo Buehler <tb@openbsd.org> | 2024-05-26 07:23:36 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-05-26 07:44:05 +0200 |
commit | 1fec7bea51f6537276aef9d5d95d67b11d7be907 (patch) | |
tree | 4514d0898d5073e3ed92ec30ebf13b4e377a2d50 /tests/rfc5280time_small.test | |
parent | 8f03828942b063f3d7693fdaf3eb11ae77714d50 (diff) | |
download | portable-1fec7bea51f6537276aef9d5d95d67b11d7be907.tar.gz portable-1fec7bea51f6537276aef9d5d95d67b11d7be907.tar.bz2 portable-1fec7bea51f6537276aef9d5d95d67b11d7be907.zip |
Make RFC 5280 test xfail on 32-bit time_t systems
Diffstat (limited to 'tests/rfc5280time_small.test')
-rwxr-xr-x | tests/rfc5280time_small.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rfc5280time_small.test b/tests/rfc5280time_small.test new file mode 100755 index 0000000..61e5a05 --- /dev/null +++ b/tests/rfc5280time_small.test | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | echo 1..1 | ||
3 | TEST=./rfc5280 | ||
4 | if [ -e ./rfc5280.exe ]; then | ||
5 | TEST=./rfc5280.exe | ||
6 | fi | ||
7 | |||
8 | # map test failure to XFAIL and success to XPASS | ||
9 | $TEST || echo -n "not " | ||
10 | echo "ok # this system is unable to represent times past 2038" | ||