Searched refs:nonexistentFile (Results 1 – 2 of 2) sorted by relevance
| /third_party/node/test/parallel/ |
| D | test-fs-error-messages.js | 34 const nonexistentFile = path.join(tmpdir.path, 'non-existent'); constant 72 assert.strictEqual(nonexistentFile, err.path); 75 `ENOENT: no such file or directory, stat '${nonexistentFile}'`); 82 fs.stat(nonexistentFile, common.mustCall(validateError)); 85 () => fs.statSync(nonexistentFile), 93 assert.strictEqual(nonexistentFile, err.path); 96 `ENOENT: no such file or directory, lstat '${nonexistentFile}'`); 103 fs.lstat(nonexistentFile, common.mustCall(validateError)); 105 () => fs.lstatSync(nonexistentFile), 133 assert.strictEqual(nonexistentFile, err.path); [all …]
|
| D | test-fs-watch-enoent.js | 15 const nonexistentFile = path.join(tmpdir.path, 'non-existent'); constant 26 assert.strictEqual(err.path, nonexistentFile); 27 assert.strictEqual(err.filename, nonexistentFile); 32 `ENOENT: no such file or directory, watch '${nonexistentFile}'`); 38 `ENODEV: no such device, watch '${nonexistentFile}'`); 46 () => fs.watch(nonexistentFile, common.mustNotCall()), 57 assert.strictEqual(err.path, nonexistentFile); 58 assert.strictEqual(err.filename, nonexistentFile); 61 `ENOENT: no such file or directory, watch '${nonexistentFile}'`); 72 watcher._handle.onchange(UV_ENOENT, 'ENOENT', nonexistentFile);
|