Skip to content
Permalink
Browse files

tests: fix forknotify.py on windows

Windows interprets 'foo.txt' as a literal filename while "foo.txt" is treated
as expected.
  • Loading branch information...
theuni committed Oct 31, 2014
1 parent 7a41614 commit 5122ea7190f85952ef27153bb1778831efb3e0ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 qa/rpc-tests/forknotify.py
@@ -23,7 +23,7 @@ def setup_network(self):
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"]))

0 comments on commit 5122ea7

Please sign in to comment.
You can’t perform that action at this time.