aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_blocksdir.py
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2018-03-11 12:42:02 +0800
committerJonas Schnelli <dev@jonasschnelli.ch>2018-03-20 09:33:17 +0700
commita1926362ecb3c354ae338ef7d7020daf78f980c9 (patch)
tree9be5d4ea2d46e0c8624b74774ab555035120ea58 /test/functional/feature_blocksdir.py
parentf38e4fdb06406f9a1a2562836fab523eb75b5090 (diff)
-blocksdir: keep blockindex leveldb database in datadir
Diffstat (limited to 'test/functional/feature_blocksdir.py')
-rwxr-xr-xtest/functional/feature_blocksdir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/feature_blocksdir.py b/test/functional/feature_blocksdir.py
index e9d7b9de5b..6ee6cb9a3e 100755
--- a/test/functional/feature_blocksdir.py
+++ b/test/functional/feature_blocksdir.py
@@ -27,8 +27,8 @@ class BlocksdirTest(BitcoinTestFramework):
self.start_node(0, ["-blocksdir="+self.options.tmpdir+ "/blocksdir"])
self.log.info("mining blocks..")
self.nodes[0].generate(10)
- assert(os.path.isfile(self.options.tmpdir+ "/blocksdir/regtest/blocks/blk00000.dat"))
- assert(os.path.isdir(self.options.tmpdir+ "/blocksdir/regtest/blocks/index"))
+ assert(os.path.isfile(os.path.join(self.options.tmpdir, "blocksdir", "regtest", "blocks", "blk00000.dat")))
+ assert(os.path.isdir(os.path.join(self.options.tmpdir, "node0", "regtest", "blocks", "index")))
if __name__ == '__main__':
BlocksdirTest().main()