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);
28 # trailing slashes will be removed before the system call to mkdir
29 ok(mkdir('blurfl///'));
31 ok(rmdir('blurfl///'));
34 # test default argument