Browse Source

[1207] use test_db in setup for command loadzone test

It isn't actually used by the test, but by not setting any db, the default db would've been created (and not cleaned up, making distcheck fail for leaving files around)
Jelte Jansen 13 years ago
parent
commit
4c63a32144
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/bin/auth/tests/command_unittest.cc

+ 3 - 1
src/bin/auth/tests/command_unittest.cc

@@ -297,7 +297,9 @@ TEST_F(AuthCommandTest,
                               "      }"
                               "    ]"
                               "  }"
-                              "]}"));
+                              "],"
+                              " \"database_file\": \"" + test_db + "\""
+                              "}"));
     module_session.setLocalConfig(map);
     server_.setConfigSession(&module_session);