}
// sub-tests:
+function test_simple_error_callback() {
+ var ncalls = 0;
+
+ fs.realpath('/this/path/does/not/exist', function(err, s) {
+ assert(err);
+ assert(!s);
+ ncalls++;
+ });
+
+ process.on('exit', function() {
+ assert.equal(ncalls, 1);
+ });
+}
function test_simple_relative_symlink(callback) {
console.log('test_simple_relative_symlink');
// ----------------------------------------------------------------------------
var tests = [
+ test_simple_error_callback,
test_simple_relative_symlink,
test_simple_absolute_symlink,
test_deep_relative_file_symlink,