• Home
  • Raw
  • Download

Lines Matching refs:tests

9 const tests = Object.create(null);
19 tests['fs.sync.access'] = 'fs.writeFileSync("fs0.txt", "123", "utf8");' +
22 tests['fs.sync.chmod'] = 'fs.writeFileSync("fs1.txt", "123", "utf8");' +
25 tests['fs.sync.chown'] = 'fs.writeFileSync("fs2.txt", "123", "utf8");' +
28 tests['fs.sync.close'] = 'fs.writeFileSync("fs3.txt", "123", "utf8");' +
30 tests['fs.sync.copyfile'] = 'fs.writeFileSync("fs4.txt", "123", "utf8");' +
33 tests['fs.sync.fchmod'] = 'fs.writeFileSync("fs5.txt", "123", "utf8");' +
37 tests['fs.sync.fchown'] = 'fs.writeFileSync("fs6.txt", "123", "utf8");' +
41 tests['fs.sync.fdatasync'] = 'fs.writeFileSync("fs7.txt", "123", "utf8");' +
45 tests['fs.sync.fstat'] = 'fs.writeFileSync("fs8.txt", "123", "utf8");' +
48 tests['fs.sync.fsync'] = 'fs.writeFileSync("fs9.txt", "123", "utf8");' +
52 tests['fs.sync.ftruncate'] = 'fs.writeFileSync("fs10.txt", "123", "utf8");' +
56 tests['fs.sync.futimes'] = 'fs.writeFileSync("fs11.txt", "123", "utf8");' +
60 tests['fs.sync.lchown'] = 'fs.writeFileSync("fs12.txt", "123", "utf8");' +
63 tests['fs.sync.link'] = 'fs.writeFileSync("fs13.txt", "123", "utf8");' +
67 tests['fs.sync.lstat'] = 'fs.writeFileSync("fs15.txt", "123", "utf8");' +
70 tests['fs.sync.mkdir'] = 'fs.mkdirSync("fstemp0");' +
72 tests['fs.sync.mkdtemp'] = 'const fp = fs.mkdtempSync("fstemp1");' +
74 tests['fs.sync.open'] = 'fs.writeFileSync("fs16.txt", "123", "utf8");' +
76 tests['fs.sync.read'] = 'fs.writeFileSync("fs17.txt", "123", "utf8");' +
79 tests['fs.sync.readdir'] = 'fs.readdirSync("./")';
80 tests['fs.sync.realpath'] = 'fs.writeFileSync("fs18.txt", "123", "utf8");' +
85 tests['fs.sync.rename'] = 'fs.writeFileSync("fs20.txt", "123", "utf8");' +
88 tests['fs.sync.rmdir'] = 'fs.mkdirSync("fstemp2");' +
90 tests['fs.sync.stat'] = 'fs.writeFileSync("fs22.txt", "123", "utf8");' +
93 tests['fs.sync.unlink'] = 'fs.writeFileSync("fs23.txt", "123", "utf8");' +
97 tests['fs.sync.utimes'] = 'fs.writeFileSync("fs25.txt", "123", "utf8");' +
100 tests['fs.sync.write'] = 'fs.writeFileSync("fs26.txt", "123", "utf8");' +
106 tests['fs.sync.symlink'] = 'fs.writeFileSync("fs27.txt", "123", "utf8");' +
110 tests['fs.sync.readlink'] = 'fs.writeFileSync("fs29.txt", "123", "utf8");' +
121 for (const tr in tests) {
125 '-e', tests[tr] ],