summaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/regression1.c
diff options
context:
space:
mode:
authorRehas Sachdeva <aquannie@gmail.com>2017-01-04 19:55:00 +0300
committerMatthew Wilcox <mawilcox@microsoft.com>2017-02-14 05:44:04 +0300
commit73bc029b76482260a144219786d19951f561716e (patch)
tree92fd2111d3da8e9eea6d43f926f5b9368f924d82 /tools/testing/radix-tree/regression1.c
parent5eeb2d23df29212f901a36dabf16f93d8bd50814 (diff)
downloadlinux-73bc029b76482260a144219786d19951f561716e.tar.xz
radix tree test suite: Dial down verbosity with -v
Make the output of radix tree test suite less verbose by default and add -v and -vv command line options for increasing level of verbosity. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Diffstat (limited to 'tools/testing/radix-tree/regression1.c')
-rw-r--r--tools/testing/radix-tree/regression1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/radix-tree/regression1.c b/tools/testing/radix-tree/regression1.c
index 0d6813a61b37..bf97742fc18c 100644
--- a/tools/testing/radix-tree/regression1.c
+++ b/tools/testing/radix-tree/regression1.c
@@ -193,7 +193,7 @@ void regression1_test(void)
long arg;
/* Regression #1 */
- printf("running regression test 1, should finish in under a minute\n");
+ printv(1, "running regression test 1, should finish in under a minute\n");
nr_threads = 2;
pthread_barrier_init(&worker_barrier, NULL, nr_threads);
@@ -216,5 +216,5 @@ void regression1_test(void)
free(threads);
- printf("regression test 1, done\n");
+ printv(1, "regression test 1, done\n");
}