aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-05-20 13:46:15 +0200
committerfanquake <fanquake@gmail.com>2021-06-30 10:23:54 +0800
commit513613d8a87337f1d1f639bc9426165c3b6be62e (patch)
tree51897fcf61dd00a94d5b78998acafdc202f6026c /test/functional
parent70eac6fcd02b6c44cb4b1f2fb895eae147e3f490 (diff)
downloadbitcoin-513613d8a87337f1d1f639bc9426165c3b6be62e.tar.xz
Cleanup -includeconf error message
Remove the erroneous trailing newline '\n'. Also, print only the first value to remove needless redundancy in the error message. Github-Pull: #22002 Rebased-From: fad0867d6ab9430070aa7d60bf7617a6508e0586
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/feature_includeconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_includeconf.py b/test/functional/feature_includeconf.py
index 8eb20adf5b..6a1f3b0ef1 100755
--- a/test/functional/feature_includeconf.py
+++ b/test/functional/feature_includeconf.py
@@ -48,7 +48,7 @@ class IncludeConfTest(BitcoinTestFramework):
expected_msg='Error: Error parsing command line arguments: -includeconf cannot be used from commandline; -includeconf=true',
)
self.nodes[0].assert_start_raises_init_error(
- extra_args=['-includeconf=relative2.conf'],
+ extra_args=['-includeconf=relative2.conf', '-includeconf=no_warn.conf'],
expected_msg='Error: Error parsing command line arguments: -includeconf cannot be used from commandline; -includeconf="relative2.conf"',
)