var mkdirp=require("../"),path=require("path"),fs=require("fs"),test=require("tap").test,_0755=parseInt("0755",8);test("root",function(t){var r=path.resolve("/");mkdirp(r,_0755,function(e){if(e)throw e;fs.stat(r,function(r,e){if(r)throw r;t.ok(e.isDirectory(),"target is a directory"),t.end()})})});