From b9da6ebef090ebbeb3bae9c649fc73c7226d48a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 1 Jun 2007 22:17:03 +0000 Subject: [PATCH] sprinle stat saveing git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20780 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/test_ca.in | 5 ++++- lib/hx509/test_chain.in | 5 ++++- lib/hx509/test_cms.in | 4 +++- lib/hx509/test_crypto.in | 4 +++- lib/hx509/test_nist.in | 4 +++- lib/hx509/test_nist_cert.in | 4 +++- lib/hx509/test_nist_pkcs12.in | 4 +++- lib/hx509/test_query.in | 4 +++- lib/hx509/test_req.in | 4 +++- lib/hx509/test_windows.in | 5 ++++- 10 files changed, 33 insertions(+), 10 deletions(-) diff --git a/lib/hx509/test_ca.in b/lib/hx509/test_ca.in index 008357054..667a87b6c 100644 --- a/lib/hx509/test_ca.in +++ b/lib/hx509/test_ca.in @@ -36,7 +36,10 @@ srcdir="@srcdir@" -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" + if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then exit 77 fi diff --git a/lib/hx509/test_chain.in b/lib/hx509/test_chain.in index da2202324..e1a61f554 100644 --- a/lib/hx509/test_chain.in +++ b/lib/hx509/test_chain.in @@ -35,8 +35,11 @@ # srcdir="@srcdir@" +objdir="@objdir@" -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then exit 77 fi diff --git a/lib/hx509/test_cms.in b/lib/hx509/test_cms.in index 3961f2a86..44056fb3c 100644 --- a/lib/hx509/test_cms.in +++ b/lib/hx509/test_cms.in @@ -36,7 +36,9 @@ srcdir="@srcdir@" -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then exit 77 diff --git a/lib/hx509/test_crypto.in b/lib/hx509/test_crypto.in index 9d7886f21..7a29e80d4 100644 --- a/lib/hx509/test_crypto.in +++ b/lib/hx509/test_crypto.in @@ -36,7 +36,9 @@ srcdir="@srcdir@" -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then exit 77 diff --git a/lib/hx509/test_nist.in b/lib/hx509/test_nist.in index a260edd40..11b12048d 100644 --- a/lib/hx509/test_nist.in +++ b/lib/hx509/test_nist.in @@ -37,7 +37,9 @@ srcdir="@srcdir@" nistdir=/sources/pki/nist/PKITS_data -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then exit 77 diff --git a/lib/hx509/test_nist_cert.in b/lib/hx509/test_nist_cert.in index b55f83ecd..8a371f771 100644 --- a/lib/hx509/test_nist_cert.in +++ b/lib/hx509/test_nist_cert.in @@ -39,7 +39,9 @@ nistdir=/sources/pki/nist/PKITS_data test -d "$nistdir" || exit 77 -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" if ${hxtool} validate DIR:$nistdir/certs > /dev/null; then : diff --git a/lib/hx509/test_nist_pkcs12.in b/lib/hx509/test_nist_pkcs12.in index 452162f4a..46d442d42 100644 --- a/lib/hx509/test_nist_pkcs12.in +++ b/lib/hx509/test_nist_pkcs12.in @@ -42,7 +42,9 @@ echo "nist pkcs12 tests" test -d "$nistdir" || exit 77 -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" for a in $nistdir/*.p12 ; do diff --git a/lib/hx509/test_query.in b/lib/hx509/test_query.in index ad7f2a33e..5aed60b97 100644 --- a/lib/hx509/test_query.in +++ b/lib/hx509/test_query.in @@ -36,7 +36,9 @@ srcdir="@srcdir@" -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" echo "try printing" ${hxtool} print \ diff --git a/lib/hx509/test_req.in b/lib/hx509/test_req.in index 8b956c697..1a112b15b 100644 --- a/lib/hx509/test_req.in +++ b/lib/hx509/test_req.in @@ -36,7 +36,9 @@ srcdir="@srcdir@" -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then exit 77 diff --git a/lib/hx509/test_windows.in b/lib/hx509/test_windows.in index b3119858d..cc6de2680 100644 --- a/lib/hx509/test_windows.in +++ b/lib/hx509/test_windows.in @@ -36,7 +36,10 @@ srcdir="@srcdir@" -hxtool="${TESTS_ENVIRONMENT} ./hxtool" +#stat="--statistic-file=${objdir}/statfile" + +hxtool="${TESTS_ENVIRONMENT} ./hxtool ${stat}" + if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then exit 77 fi