summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-12 10:15:43 +0200
committerRan Benita <ran234@gmail.com>2012-10-12 10:17:57 +0200
commit523e46f41aca7bdb05e07e44e2023c3c4ffce16b (patch)
treee311eccd0b5ad9436066526d0229d7a4d5b4206e /test
parentbde066b9202b7e5f94266b88a7d25493d3f1216e (diff)
Change log env vars to XKB_LOG_LEVEL/VERBOSITY
A bit more consistent and descriptive. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/log.c b/test/log.c
index ac32867..08de3d8 100644
--- a/test/log.c
+++ b/test/log.c
@@ -70,9 +70,9 @@ main(void)
struct xkb_context *ctx;
int ret;
- ret = setenv("XKB_LOG", "warn", 1);
+ ret = setenv("XKB_LOG_LEVEL", "warn", 1);
assert(ret == 0);
- ret = setenv("XKB_VERBOSITY", "5", 1);
+ ret = setenv("XKB_LOG_VERBOSITY", "5", 1);
assert(ret == 0);
ctx = xkb_context_new(0);
assert(ctx);