@ -273,14 +273,14 @@ function test_deep_symlink_mix(callback) {
}
/ *
/ t m p / n o d e - t e s t - r e a l p a t h - f 1 - > . . / t m p / n o d e - t e s t - r e a l p a t h - d 1 / f o o
/ t m p / n o d e - t e s t - r e a l p a t h - d 1 - > . . / n o d e - t e s t - r e a l p a t h - d 2
/ t m p / n o d e - t e s t - r e a l p a t h - d 2 / f o o - > . . / n o d e - t e s t - r e a l p a t h - f 2
/ t m p / n o d e - t e s t - r e a l p a t h - f 1 - > $ t m p D i r / n o d e - t e s t - r e a l p a t h - d 1 / f o o
/ t m p / n o d e - t e s t - r e a l p a t h - d 1 - > $ t m p D i r / n o d e - t e s t - r e a l p a t h - d 2
/ t m p / n o d e - t e s t - r e a l p a t h - d 2 / f o o - > $ t m p D i r / n o d e - t e s t - r e a l p a t h - f 2
/ t m p / n o d e - t e s t - r e a l p a t h - f 2
- > / n o d e / t e s t / f i x t u r e s / n e s t e d - i n d e x / o n e / r e a l p a t h - c
/ n o d e / t e s t / f i x t u r e s / n e s t e d - i n d e x / o n e / r e a l p a t h - c
- > / n o d e / t e s t / f i x t u r e s / n e s t e d - i n d e x / t w o / r e a l p a t h - c
/ n o d e / t e s t / f i x t u r e s / n e s t e d - i n d e x / t w o / r e a l p a t h - c - > . . / . . / c y c l e s / r o o t . j s
/ n o d e / t e s t / f i x t u r e s / n e s t e d - i n d e x / t w o / r e a l p a t h - c - > $ t m p D i r / c y c l e s / r o o t . j s
/ n o d e / t e s t / f i x t u r e s / c y c l e s / r o o t . j s ( h a r d )
* /
var entry = tmp ( 'node-test-realpath-f1' ) ;
@ -289,16 +289,16 @@ function test_deep_symlink_mix(callback) {
fs . mkdirSync ( tmp ( 'node-test-realpath-d2' ) , 0o700 ) ;
try {
[
[ entry , '../' + common . tmpDirName + '/node-test-realpath-d1/foo' ] ,
[ entry , common . tmpDir + '/node-test-realpath-d1/foo' ] ,
[ tmp ( 'node-test-realpath-d1' ) ,
'../' + common . tmpDirName + '/node-test-realpath-d2' ] ,
common . tmpDir + '/node-test-realpath-d2' ] ,
[ tmp ( 'node-test-realpath-d2/foo' ) , '../node-test-realpath-f2' ] ,
[ tmp ( 'node-test-realpath-f2' ) , fixturesAbsDir +
'/nested-index/one/realpath-c' ] ,
'/nested-index/one/realpath-c' ] ,
[ fixturesAbsDir + '/nested-index/one/realpath-c' , fixturesAbsDir +
'/nested-index/two/realpath-c' ] ,
'/nested-index/two/realpath-c' ] ,
[ fixturesAbsDir + '/nested-index/two/realpath-c' ,
'../../../' + common . tmpDirName + '/cycles/root.js' ]
common . tmpDir + '/cycles/root.js' ]
] . forEach ( function ( t ) {
try { fs . unlinkSync ( t [ 0 ] ) ; } catch ( e ) { }
fs . symlinkSync ( t [ 1 ] , t [ 0 ] ) ;