mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
370 B
20 lines
370 B
15 years ago
|
/* XXX Can this test be modified to not call the now-removed wait()? */
|
||
|
|
||
15 years ago
|
process.mixin(require("./common"));
|
||
|
|
||
15 years ago
|
|
||
15 years ago
|
puts('first stat ...');
|
||
|
|
||
15 years ago
|
fs.stat(__filename)
|
||
15 years ago
|
.addCallback( function(stats) {
|
||
|
puts('second stat ...');
|
||
15 years ago
|
fs.stat(__filename)
|
||
15 years ago
|
.timeout(1000)
|
||
|
.wait();
|
||
|
|
||
|
puts('test passed');
|
||
|
})
|
||
|
.addErrback(function() {
|
||
|
throw new Exception();
|
||
15 years ago
|
});
|