summaryrefslogtreecommitdiff
path: root/test/config_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-29 00:37:13 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-29 00:37:13 +0100
commit04badd0c82d3ce82ee87c07e120e585899d4acff (patch)
treea58dfba6872d7bf2f1a9e7c462e41af12e964906 /test/config_test.cc
parente935952ec68482352294fed637d4bfa533120e36 (diff)
Allow command-line configuration of config location (#1284).
Diffstat (limited to 'test/config_test.cc')
-rw-r--r--test/config_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/config_test.cc b/test/config_test.cc
index dad545a48..14cceb6a0 100644
--- a/test/config_test.cc
+++ b/test/config_test.cc
@@ -31,7 +31,7 @@ rewrite_bad_config ()
boost::system::error_code ec;
boost::filesystem::remove ("build/test/config.xml", ec);
- Config::test_path = "build/test";
+ Config::override_path = "build/test";
ofstream f ("build/test/config.xml");
f << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
<< "<Config>\n"