chiark / gitweb /
test: loopback - parse logging env var
authorTom Gundersen <teg@jklm.no>
Mon, 29 Dec 2014 00:58:25 +0000 (01:58 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 29 Dec 2014 00:59:49 +0000 (01:59 +0100)
src/test/test-loopback.c

index ab330ac..75fe053 100644 (file)
 #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));