diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-07-30 00:25:25 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-07-30 18:01:20 -0700 |
commit | 247d5740d29752c35861136a2fc561831c7e9832 (patch) | |
tree | d44aaba21af59601a568e103575e87eb27a3649e /test | |
parent | 04ce0d88ca146962311743812a18819ae55fc9ae (diff) |
Ignore unknown config file options for now
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/feature_includeconf.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/functional/feature_includeconf.py b/test/functional/feature_includeconf.py index 9a7a0ca103..d06f6826f0 100755 --- a/test/functional/feature_includeconf.py +++ b/test/functional/feature_includeconf.py @@ -55,9 +55,11 @@ class IncludeConfTest(BitcoinTestFramework): self.stop_node(0, expected_stderr="warning: -includeconf cannot be used from included files; ignoring -includeconf=relative2.conf") self.log.info("-includeconf cannot contain invalid arg") - with open(os.path.join(self.options.tmpdir, "node0", "relative.conf"), "w", encoding="utf8") as f: - f.write("foo=bar\n") - self.nodes[0].assert_start_raises_init_error(expected_msg="Error reading configuration file: Invalid configuration value foo") + + # Commented out as long as we ignore invalid arguments in configuration files + #with open(os.path.join(self.options.tmpdir, "node0", "relative.conf"), "w", encoding="utf8") as f: + # f.write("foo=bar\n") + #self.nodes[0].assert_start_raises_init_error(expected_msg="Error reading configuration file: Invalid configuration value foo") self.log.info("-includeconf cannot be invalid path") os.remove(os.path.join(self.options.tmpdir, "node0", "relative.conf")) |