Basically a re-send of previous patches I sent (the single being
in not removing token data in the installcheck target), plus a
suggestion for sanitizing the testsuite output and result reporting,
which is in Patch 3.

A sample output from the output follows:

kla...@klausk:~/sandbox/ock/sourceforge-git/opencryptoki$ 
PKCSLIB=/usr/local/lib/opencryptoki/libopencryptoki.so PKCS11_SO_PIN=76543210 
PKCS11_USER_PIN=01234567 testcases/driver/obj_mgmt_tests -slot 1
Using slot #1...

With option: no_init: 0, no_stop: 0, skip_token_obj: 1
* TESTCASE do_CreateSessionObject BEGIN starting...
* TESTCASE do_CreateSessionObject PASS (elapsed time 0s 251us) Looks okay...
* TESTCASE do_CopyObject BEGIN starting...
* TESTCASE do_CopyObject PASS (elapsed time 0s 161us) Looks okay...
* TESTCASE do_SetAttributeValues BEGIN starting...
* TESTCASE do_SetAttributeValues PASS (elapsed time 0s 157us) Looks okay...
* TESTCASE do_FindObjects BEGIN starting...
* TESTCASE do_FindObjects PASS (elapsed time 0s 339us) Looks okay...
* TESTCASE do_HWFeatureSearch BEGIN starting...
* TESTCASE do_HWFeatureSearch FAIL (obj_mgmt.c:1388) C_CreateObject() rc = 
CKR_ATTRIBUTE_READ_ONLY
kla...@klausk:~/sandbox/ock/sourceforge-git/opencryptoki$

(the do_HWFeatureSearch FAIL seems like a real testsuite fail btw)

[PATCH 1/3] testsuite: Make ock_tests.sh more resilient
[PATCH 2/3] testcases: create separate 'benchmarks' bucket
[PATCH 3/3] testsuite: Introduce standard pass/fail/skip/error macros


 -Klaus

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to