3 # $RCSfile: mkdir.t,v $$Revision: 4.1 $$Date: 92/08/07 18:28:06 $
7 $^O eq 'MSWin32' ? `cmd /x /c del /s /q blurfl` : `rm -rf blurfl`;
9 print (mkdir('blurfl',0777) ? "ok 1\n" : "not ok 1\n");
10 print (mkdir('blurfl',0777) ? "not ok 2\n" : "ok 2\n");
11 print ($! =~ /exist/ ? "ok 3\n" : "not ok 3\n");
12 print (-d 'blurfl' ? "ok 4\n" : "not ok 4\n");
13 print (rmdir('blurfl') ? "ok 5\n" : "not ok 5\n");
14 print (rmdir('blurfl') ? "not ok 6\n" : "ok 6\n");
15 print ($! =~ /such|exist/ ? "ok 7\n" : "not ok 7\n");