summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-03-24 13:41:30 +0100
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-03-24 13:41:30 +0100
commit6072a4ea5375e3d0de931c31c16d1ff4f743170c (patch)
tree57afeb7537ec2a4e1e733ad3856d9cda0c44617c /tests
parent75339df69846e8703d3e4ad08a96c39d367a6c77 (diff)
test_terminal: parse command line arguments
Parse command line arguments so the input subsystem recognizes the XKB values. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_terminal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_terminal.c b/tests/test_terminal.c
index c9ccc22..814872c 100644
--- a/tests/test_terminal.c
+++ b/tests/test_terminal.c
@@ -37,6 +37,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
+#include "conf.h"
#include "eloop.h"
#include "input.h"
#include "log.h"
@@ -249,6 +250,8 @@ int main(int argc, char **argv)
int ret;
log_info("test: starting\n");
+ conf_parse_argv(argc, argv);
+ log_set_config(&LOG_CONFIG_INFO(1, 1));
memset(&app, 0, sizeof(app));
ret = setup_app(&app);