Skip to content

Commit 1a8e805

Browse files
fanquakePastaPastaPasta
authored andcommitted
Merge bitcoin#29498: test: Update --tmpdir doc string to say directory must not exist
d4e36ae test: Update --tmpdir doc string to say directory must not exist (kevkevin) Pull request description: 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 This change is motivated by this comment bitcoin#29335 (comment) ACKs for top commit: maflcko: lgtm ACK d4e36ae davidgumberg: ACK bitcoin@d4e36ae Tree-SHA512: fb31fd079767abbf94076615817943f35f5c9262fc97e65c631a18d33b3a343fe6a2d151613256e632d2b372ab2de0435f4712309b4a77ed3c663fd93a7dcdd1
1 parent 81ca71c commit 1a8e805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def parse_args(self):
192192
help="Don't stop dashds after the test execution")
193193
parser.add_argument("--cachedir", dest="cachedir", default=os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + "/../../cache"),
194194
help="Directory for caching pregenerated datadirs (default: %(default)s)")
195-
parser.add_argument("--tmpdir", dest="tmpdir", help="Root directory for datadirs")
195+
parser.add_argument("--tmpdir", dest="tmpdir", help="Root directory for datadirs (must not exist)")
196196
parser.add_argument("-l", "--loglevel", dest="loglevel", default="INFO",
197197
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.")
198198
parser.add_argument("--tracerpc", dest="trace_rpc", default=False, action="store_true",

0 commit comments

Comments
 (0)