(realpath, realpathSync, cb)
| 384 | |
| 385 | const upone = path.join(process.cwd(), '..'); |
| 386 | function test_escape_cwd(realpath, realpathSync, cb) { |
| 387 | console.log('test_escape_cwd'); |
| 388 | asynctest(realpath, ['..'], cb, function(er, uponeActual) { |
| 389 | assertEqualPath( |
| 390 | upone, uponeActual, |
| 391 | `realpath("..") expected: ${path.resolve(upone)} actual:${uponeActual}`); |
| 392 | }); |
| 393 | } |
| 394 | |
| 395 | function test_upone_actual(realpath, realpathSync, cb) { |
| 396 | console.log('test_upone_actual'); |