some failes pass or succeed based on size_t size, lets have it either way for now

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24062 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-12-11 04:51:19 +00:00
parent 953cf8b43e
commit 747f6e9f77
2 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# $Id$
# id FAIL
4.2.8 FAIL doesn't support times past 2038
4.4.13 FAIL doesn't support times past 2038
4.2.8 EITHER depeneds on if time_t is 64 bit or not
4.4.13 EITHER depeneds on if time_t is 64 bit or not
4.5.1 FAIL
4.5.4 FAIL
4.5.6 FAIL

View File

@@ -38,6 +38,7 @@ srcdir="@srcdir@"
objdir="@objdir@"
nistdir=${objdir}/PKITS_data
nistzip=${srcdir}/data/PKITS_data.zip
egrep="@egrep@"
limit="${1:-nolimit}"
@@ -96,7 +97,6 @@ while read result cert other ; do
args="$args cert:FILE:$nistdir/certs/$cert"
args="$args chain:DIR:$nistdir/certs"
args="$args anchor:FILE:$nistdir/certs/TrustAnchorRootCertificate.crt"
# args="$args crl:FILE:$nistdir/crls/TrustAnchorRootCRL.crl"
for a in $nistdir/crls/*.crl; do
args="$args crl:FILE:$a"
@@ -113,12 +113,14 @@ while read result cert other ; do
[123],*) r="PASSf";;
*) echo="unknown result ${result},${res}" ; exit 1 ;;
esac
if grep "${name} FAIL" $srcdir/data/nist-result2 > /dev/null; then
if ${egrep} "^${name} FAIL" $srcdir/data/nist-result2 > /dev/null; then
if expr "$r" : "PASS" >/dev/null; then
echo "${name} passed when expected not to"
echo "# ${description}" > nist2-passed-${name}.tmp
ec=1
fi
elif ${egrep} "^${name} EITHER" $srcdir/data/nist-result2 > /dev/null; then
:
elif expr "$r" : "FAIL.*" >/dev/null ; then
echo "$r ${name} ${description}"
echo "# ${description}" > nist2-failed-${name}.tmp