14 # tests 3 and 7 rather naughtily expect English error messages
16 $ENV{LANGUAGE} = 'C'; # GNU locale extension
18 ok(mkdir('blurfl',0777));
19 ok(!mkdir('blurfl',0777));
20 like($!, qr/cannot move|exist|denied|unknown/i);
24 like($!, qr/cannot find|such|exist|not found|not a directory|unknown/i);
29 # trailing slashes will be removed before the system call to mkdir
30 # but we don't care for MacOS ...
31 skip("MacOS", 4) if $^O eq 'MacOS';
32 ok(mkdir('blurfl///'));
34 ok(rmdir('blurfl///'));
38 # test default argument