use lib <t/packages/>;
use Test;
use Test::Helpers;

plan 1;

# mkdir soft-fails when directory name is too long (over 255 bytes).
my $path = make-temp-dir.add("foobar").add("universe" x 42);
fails-like { $path.mkdir }, X::IO::Mkdir;

Revert "Revert "Test mkdir when parent was created but child fails""
Revert "Revert "Test mkdir when parent was created but child fails""
