diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-08 10:39:06 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-09-08 18:58:31 +0200 |
commit | fadecbd9a4d47957f42672911675c400caeaac24 (patch) | |
tree | 9385c18c6b9d291f66f33eec60bbf3e89855bd03 /test/functional/rpc_signer.py | |
parent | 5e3380b9f59481fc18e05b9d651c3c733abe4053 (diff) | |
download | bitcoin-fadecbd9a4d47957f42672911675c400caeaac24.tar.xz |
test: Fix tests on Windows
Diffstat (limited to 'test/functional/rpc_signer.py')
-rwxr-xr-x | test/functional/rpc_signer.py | 8 |
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 |