Console: SystemException in parseFile() should include filename
[senf.git] / senf / Utils / Console / Config.test.cc
index 2e8973d..d20483a 100644 (file)
@@ -72,7 +72,7 @@ SENF_AUTO_UNIT_TEST(configBundle_empty)
     root.add("fun2", senf::console::factory::Command(&fun2));
     
     senf::console::ConfigBundle bundle(root);
-    bundle.add( senf::console::FileConfig("/tmp/test.cfg"));
+    bundle.add( senf::console::FileConfig(cfg.name()));
     
     SENF_CHECK_NO_THROW( bundle.parse() );
 }