summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-12-29 01:58:25 +0100
committerTom Gundersen <teg@jklm.no>2014-12-29 01:59:49 +0100
commit2da780b9763424d3133881ed9f51545cc8b9b575 (patch)
tree2662e15df2b0301dd9c12526497a596d5a11e1cc /src
parentb551ddd380c3b8ddacf86efe815654f7eb6b4952 (diff)
test: loopback - parse logging env var
Diffstat (limited to 'src')
-rw-r--r--src/test/test-loopback.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test-loopback.c b/src/test/test-loopback.c
index ab330ac840..75fe053b63 100644
--- a/src/test/test-loopback.c
+++ b/src/test/test-loopback.c
@@ -25,11 +25,15 @@
#include <fcntl.h>
#include "loopback-setup.h"
+#include "log.h"
#include "util.h"
int main(int argc, char* argv[]) {
int r;
+ log_open();
+ log_parse_environment();
+
if ((r = loopback_setup()) < 0)
fprintf(stderr, "loopback: %s\n", strerror(-r));