summaryrefslogtreecommitdiff
path: root/tests/destructive/p11-kit-load.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/destructive/p11-kit-load.sh')
-rwxr-xr-xtests/destructive/p11-kit-load.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/destructive/p11-kit-load.sh b/tests/destructive/p11-kit-load.sh
index 2fe6394fe2..86e8eb3600 100755
--- a/tests/destructive/p11-kit-load.sh
+++ b/tests/destructive/p11-kit-load.sh
@@ -141,4 +141,12 @@ if test "$nr" != 1;then
${builddir}/pkcs11/list-tokens -m -v
fi
+# Check whether all modules are listed after certificate verification
+# is performed then a PKCS#11 function is called.
+${builddir}/pkcs11/list-tokens -v -d|wc -l
+if test "$nr" != 2;then
+ echo "Error in test 6: did not find all modules"
+ ${builddir}/pkcs11/list-tokens -v
+fi
+
exit 0