summaryrefslogtreecommitdiff
path: root/tests/dbtests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbtests')
-rw-r--r--tests/dbtests/bigdb/cert9.dbbin282624 -> 0 bytes
-rw-r--r--tests/dbtests/bigdb/key4.dbbin811008 -> 0 bytes
-rw-r--r--tests/dbtests/bigdb/pkcs11.txt5
-rwxr-xr-xtests/dbtests/dbtests.sh18
4 files changed, 0 insertions, 23 deletions
diff --git a/tests/dbtests/bigdb/cert9.db b/tests/dbtests/bigdb/cert9.db
deleted file mode 100644
index 461c26c41..000000000
--- a/tests/dbtests/bigdb/cert9.db
+++ /dev/null
Binary files differ
diff --git a/tests/dbtests/bigdb/key4.db b/tests/dbtests/bigdb/key4.db
deleted file mode 100644
index b45918d7f..000000000
--- a/tests/dbtests/bigdb/key4.db
+++ /dev/null
Binary files differ
diff --git a/tests/dbtests/bigdb/pkcs11.txt b/tests/dbtests/bigdb/pkcs11.txt
deleted file mode 100644
index adbb159ba..000000000
--- a/tests/dbtests/bigdb/pkcs11.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-library=
-name=NSS Internal PKCS #11 Module
-parameters=configdir='sql:/tmp/nssdb' certPrefix='' keyPrefix='' secmod='secmod.db' flags= updatedir='' updateCertPrefix='' updateKeyPrefix='' updateid='' updateTokenDescription=''
-NSS=trustOrder=75 cipherOrder=100 slotParams={0x00000001=[slotFlags=RSA,RC4,RC2,DES,DH,SHA1,MD5,MD2,SSL,TLS,AES,SHA256,SHA512,Camellia,SEED,ECC,RANDOM askpw=any timeout=30 ] } Flags=internal,critical
-
diff --git a/tests/dbtests/dbtests.sh b/tests/dbtests/dbtests.sh
index b0b195d4d..00740d092 100755
--- a/tests/dbtests/dbtests.sh
+++ b/tests/dbtests/dbtests.sh
@@ -51,7 +51,6 @@ dbtest_init()
EMPTY_DIR=${HOSTDIR}/emptydir
CONFLICT_DIR=${HOSTDIR}/conflictdir
THREAD_DIR=${HOSTDIR}/threadir
- BIG_DIR=${HOSTDIR}/bigdir
html_head "CERT and Key DB Tests"
@@ -352,23 +351,6 @@ dbtest_main()
*)
html_failed "sdbthreadtst failed with an unrecognized error code."
esac
-
- # now verify that we can quickly dump a database that has explicit
- # default trust values (generated by updating a dbm database with
- # to a sql database with and older version of NSS).
- mkdir -p ${BIG_DIR}
- cp ${QADIR}/dbtests/bigdb/* ${BIG_DIR}/
- echo "time certutil -K -d ${BIG_DIR} -f ${R_PWFILE}"
- dtime=$(time -p (certutil -K -d ${BIG_DIR} -f ${R_PWFILE}) 2>&1 1>/dev/null)
- echo "------------- time ----------------------"
- echo $dtime
- # now parse the real time to make sure it's subsecond
- RARRAY=($dtime)
- TIMEARRAY=(${RARRAY[1]//./ })
- echo "${TIMEARRAY[0]} seconds"
- test ${TIMEARRAY[0]} -lt 2
- ret=$?
- html_msg ${ret} 0 "certutil dump keys with explicit default trust flags"
fi
}