diff options
author | kevkevin <oapallikunnel@gmail.com> | 2024-02-27 18:45:24 -0600 |
---|---|---|
committer | kevkevin <oapallikunnel@gmail.com> | 2024-02-27 18:45:24 -0600 |
commit | d4e36ae80d4b3f03647fd9057461edf7ecd794a3 (patch) | |
tree | e9de634ebc3f657edea35c9a3360fd135c969faa /test/functional/test_framework/test_framework.py | |
parent | ba907f96ad37c09c49c0e1532fad118fcb8dd4a8 (diff) | |
download | bitcoin-d4e36ae80d4b3f03647fd9057461edf7ecd794a3.tar.xz |
test: Update --tmpdir doc string to say directory must not exist
The error message given if passing an existing dir to --tmpdir is
confusing so this makes it clear that the directory must not already
exist
Diffstat (limited to 'test/functional/test_framework/test_framework.py')
-rwxr-xr-x | test/functional/test_framework/test_framework.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index d8ae20981d..e7e4172cf6 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -163,7 +163,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): help="Don't stop bitcoinds after the test execution") parser.add_argument("--cachedir", dest="cachedir", default=os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + "/../../cache"), help="Directory for caching pregenerated datadirs (default: %(default)s)") - parser.add_argument("--tmpdir", dest="tmpdir", help="Root directory for datadirs") + parser.add_argument("--tmpdir", dest="tmpdir", help="Root directory for datadirs (must not exist)") parser.add_argument("-l", "--loglevel", dest="loglevel", default="INFO", help="log events at this level and higher to the console. Can be set to DEBUG, INFO, WARNING, ERROR or CRITICAL. Passing --loglevel DEBUG will output all logs to console. Note that logs at all levels are always written to the test_framework.log file in the temporary test directory.") parser.add_argument("--tracerpc", dest="trace_rpc", default=False, action="store_true", |