aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_signer.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-09-08 10:39:06 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-09-08 18:58:31 +0200
commitfadecbd9a4d47957f42672911675c400caeaac24 (patch)
tree9385c18c6b9d291f66f33eec60bbf3e89855bd03 /test/functional/rpc_signer.py
parent5e3380b9f59481fc18e05b9d651c3c733abe4053 (diff)
downloadbitcoin-fadecbd9a4d47957f42672911675c400caeaac24.tar.xz
test: Fix tests on Windows
Diffstat (limited to 'test/functional/rpc_signer.py')
-rwxr-xr-xtest/functional/rpc_signer.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/functional/rpc_signer.py b/test/functional/rpc_signer.py
index 3188763f49..9e963eba57 100755
--- a/test/functional/rpc_signer.py
+++ b/test/functional/rpc_signer.py
@@ -53,8 +53,12 @@ class RPCSignerTest(BitcoinTestFramework):
)
# Handle script missing:
- assert_raises_rpc_error(-1, 'execve failed: No such file or directory',
- self.nodes[3].enumeratesigners
+ assert_raises_rpc_error(
+ -1,
+ "CreateProcess failed: The system cannot find the file specified."
+ if platform.system() == "Windows"
+ else "execve failed: No such file or directory",
+ self.nodes[3].enumeratesigners,
)
# Handle error thrown by script