error, add one to the error count so there will be a non-zero
exit. Sometimes, the decoded structure is complete enoght to pass
the test, even with an ASN.1 error - which can easilly get missed
in the output run.
The indefinite lengths encryption key test (w/ trailing [2] integer)
fails under linux and SGI - but works on other platforms - probably
due to luck stack problems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12677
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-09-26 Ezra Peisach <epeisach@mit.edu>
+
+ * krb5_decode_test.c (decode_run): If the ASN1 decoder returns an
+ error, add one to the error count so there will be a non-zero
+ exit. Sometimes, the decoded structure is complete enoght to pass
+ the test, even with an ASN.1 error - which can easilly get missed
+ in the output run.
+
2000-08-07 Ezra Peisach <epeisach@mit.edu>
* reference_encode.out, trval_reference.out: Test encoding of
retval = decoder(&code,&var);\
if(retval){\
com_err("krb5_decode_test", retval, "while decoding %s", typestring);\
+ error_count++;\
}\
assert(comparator(&ref,var),typestring);\
printf("%s\n",description)