aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-10-30 23:01:34 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-10-31 00:05:55 -0400
commit5122ea7190f85952ef27153bb1778831efb3e0ec (patch)
treee9cbbe1a1ed3f534f27cf0eac955c3f33cd41cad /qa
parent7a41614aa27b9d3855b6145831cb4ad958f78823 (diff)
downloadbitcoin-5122ea7190f85952ef27153bb1778831efb3e0ec.tar.xz
tests: fix forknotify.py on windows
Windows interprets 'foo.txt' as a literal filename while "foo.txt" is treated as expected.
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/forknotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/forknotify.py b/qa/rpc-tests/forknotify.py
index a4c2dc944e..1d2c4a9966 100755
--- a/qa/rpc-tests/forknotify.py
+++ b/qa/rpc-tests/forknotify.py
@@ -23,7 +23,7 @@ class ForkNotifyTest(BitcoinTestFramework):
with open(self.alert_filename, 'w') as f:
pass # Just open then close to create zero-length file
self.nodes.append(start_node(0, self.options.tmpdir,
- ["-blockversion=2", "-alertnotify=echo %s >> '" + self.alert_filename + "'"]))
+ ["-blockversion=2", "-alertnotify=echo %s >> \"" + self.alert_filename + "\""]))
# Node1 mines block.version=211 blocks
self.nodes.append(start_node(1, self.options.tmpdir,
["-blockversion=211"]))