From 41cc7ecf94d5dda9bed3dbd15695aae266b4a3e4 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 8 Dec 2008 18:32:33 +0000 Subject: Add verbose -v flag to P11 test. --- src/p11-tests.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/p11-tests.c') 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; -- cgit v1.2.3