This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
run/switches.t: allocate the in-place edit test directory with tempfile
authorTony Cook <tony@develop-help.com>
Thu, 16 Jan 2020 03:32:51 +0000 (14:32 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 27 Jan 2020 23:16:36 +0000 (10:16 +1100)
commit719b7c2b26e2619a15c6f24c50dbb9a00e3a5731
treec7dbada9815e4a8f9e620765946889744d4b4e9d
parentdefa7a7ceabcb3fdc3e81b948a124b4f33bb6ec0
run/switches.t: allocate the in-place edit test directory with tempfile

Previously it used a static tmpinplace/ directory, which could
cause the "trash left behind" test to fail if a previous run
was aborted for some reason.

fixes #17423
t/run/switches.t