> On 26 Jul 2026, at 02:02, Harrison Booth <harrisontbooth(at)gmail(dot)com> wrote:
> On my build, that target path was 253 characters. Perl's mkdir failed
> at Windows' default 248-character directory path limit, but the result
> was unchecked. The test then failed later with a misleading
> CREATE TABLESPACE "directory does not exist" error.
-mkdir "$tempdir/$superlongname";
+mkdir "$real_sys_tempdir/$superlongname"
+ or BAIL_OUT "could not create $real_sys_tempdir/$superlongname";
Shouldn't this include $! to give a hint to the user what the error might be?
--
Daniel Gustafsson