aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_filelock.py
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2019-08-22 18:17:31 +0200
committerJorge Timón <jtimon@jtimon.cc>2019-10-26 13:24:39 +0200
commit1abcecc40c518a98b7d17880657ec0247abdf125 (patch)
treeb78f9540641279b72e2288e278b54ef08c6c2fcb /test/functional/feature_filelock.py
parentbe50469217bd775c4305938634c32e5932f47841 (diff)
Tests: Use self.chain instead of 'regtest' in almost all current tests
Diffstat (limited to 'test/functional/feature_filelock.py')
-rwxr-xr-xtest/functional/feature_filelock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_filelock.py b/test/functional/feature_filelock.py
index ba116e41f5..89843f84f7 100755
--- a/test/functional/feature_filelock.py
+++ b/test/functional/feature_filelock.py
@@ -19,7 +19,7 @@ class FilelockTest(BitcoinTestFramework):
self.nodes[0].wait_for_rpc_connection()
def run_test(self):
- datadir = os.path.join(self.nodes[0].datadir, 'regtest')
+ datadir = os.path.join(self.nodes[0].datadir, self.chain)
self.log.info("Using datadir {}".format(datadir))
self.log.info("Check that we can't start a second bitcoind instance using the same datadir")