summaryrefslogtreecommitdiff
path: root/src/p11-tests.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-08 18:32:33 +0000
committerStef Walter <stef@memberwebs.com>2008-12-08 18:32:33 +0000
commit41cc7ecf94d5dda9bed3dbd15695aae266b4a3e4 (patch)
tree393fcbee1859423089c8ace314498a1c7cb6ac05 /src/p11-tests.c
parent356d3460f2fad27e9f7a9d2cabca2d58eacf356f (diff)
Add verbose -v flag to P11 test.
Diffstat (limited to 'src/p11-tests.c')
-rw-r--r--src/p11-tests.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/p11-tests.c b/src/p11-tests.c
index 58f0413..0e7975c 100644
--- a/src/p11-tests.c
+++ b/src/p11-tests.c
@@ -21,13 +21,16 @@ main(int argc, char* argv[])
const char *config = NULL;
int ch;
- while((ch = getopt(argc, argv, "f:z")) != -1)
+ while((ch = getopt(argc, argv, "f:vz")) != -1)
{
switch(ch)
{
case 'f':
config = optarg;
break;
+ case 'v':
+ p11t_check_verbose = 1;
+ break;
case 'z':
p11t_test_unexpected = 0;
break;