Home
last modified time | relevance | path

Searched refs:symlink (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/third_party/node/test/es-module/
Dtest-esm-symlink-type.js46 symlinks.forEach((symlink) => {
47 const mainPath = path.join(tmpDir, symlink.source);
48 fs.symlinkSync(symlink.target, mainPath);
61 if (symlink.errorsWithPreserveSymlinksMain &&
63 else if (!symlink.errorsWithPreserveSymlinksMain &&
64 stdout.includes(symlink.prints)) return;
65 assert.fail(`For ${JSON.stringify(symlink)}, ${
66 (symlink.errorsWithPreserveSymlinksMain) ?
70 if (stdout.includes(symlink.prints)) return;
71 assert.fail(`For ${JSON.stringify(symlink)}, failed to find ` +
[all …]
Dtest-esm-specifiers-symlink.mjs18 // └── symlink.mjs -> ./subfolder/index.mjs
20 const symlink = path.join(tmpDir, 'symlink.mjs'); constant
25 await fs.symlink(real, symlink);
32 fs.writeFile(entry, 'import "./symlink.mjs";'),
/third_party/python/Lib/test/
Dtest_ntpath.py267 os.symlink(ABSTFN, ABSTFN + "1")
278 os.symlink(ABSTFN + "1", ABSTFN)
291 os.symlink(ABSTFN, ntpath.relpath(ABSTFN + "1"))
304 os.symlink(".", "recursive")
305 os.symlink("..", "parent")
307 os.symlink(".", "self")
308 os.symlink("missing", "broken")
309 os.symlink(r"broken\bar", "broken1")
310 os.symlink(r"self\self\broken", "broken2")
311 os.symlink(r"subdir\parent\subdir\parent\broken", "broken3")
[all …]
Dtest_posixpath.py166 os.symlink(os_helper.TESTFN + "1", os_helper.TESTFN + "2")
201 os.symlink("/", ABSTFN)
353 os.symlink(ABSTFN+"1", ABSTFN)
365 os.symlink(ABSTFN+"1", ABSTFN)
376 os.symlink(posixpath.relpath(ABSTFN+"1"), ABSTFN)
388 os.symlink(ABSTFN, ABSTFN)
391 os.symlink(ABSTFN+"1", ABSTFN+"2")
392 os.symlink(ABSTFN+"2", ABSTFN+"1")
399 os.symlink(ABSTFN+"x", ABSTFN+"y")
405 os.symlink(basename(ABSTFN) + "a/b", ABSTFN+"a")
[all …]
/third_party/node/test/parallel/
Dtest-fs-symlink.js42 fs.symlink(linkData, linkPath, common.mustSucceed(() => {
61 fs.symlink(linkData, linkPath, common.mustSucceed(() => {
72 assert.throws(() => fs.symlink(input, '', common.mustNotCall()), errObj);
75 assert.throws(() => fs.symlink('', input, common.mustNotCall()), errObj);
85 assert.throws(() => fs.symlink('', '', '��', common.mustNotCall()), errObj);
Dtest-fs-null-bytes.js76 check(fs.symlink, fs.symlinkSync, 'foo\u0000bar', 'foobar');
77 check(fs.symlink, fs.symlinkSync, 'foobar', 'foo\u0000bar');
111 check(fs.symlink, fs.symlinkSync, fileUrl, 'foobar');
112 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl);
143 check(fs.symlink, fs.symlinkSync, fileUrl2, 'foobar');
144 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl2);
Dtest-fs-symlink-longpath.js18 fs.symlink(targetDirectory, pathDirectory, 'dir', common.mustSucceed(() => {
25 fs.symlink(targetFile, pathFile, common.mustSucceed(() => {
Dtest-fs-symlink-dir-junction.js37 fs.symlink(linkData, linkPath, 'junction', common.mustSucceed(() => {
57 fs.symlink(linkData, linkPath, 'junction', common.mustSucceed(() => {
Dtest-trace-events-fs-async.js251 function symlink() { function
254 fs.symlink('fs27.txt', 'fs28.txt', () => {
303 tests.symlink = wrapper(symlink);
Dtest-fs-symlink-dir.js34 fs.symlink(target, path, common.mustSucceed(() => {
55 fs.symlink(target, path, common.mustSucceed(() => {
/third_party/musl/porting/linux/user/tools/
Dinstall.sh14 symlink=
21 l) symlink=yes ;;
22 r) symlink=yes; symlinkflags="$symlinkflags -r" ;;
52 if test "$symlink" ; then
/third_party/musl/tools/
Dinstall.sh14 symlink=
21 l) symlink=yes ;;
22 r) symlink=yes; symlinkflags="$symlinkflags -r" ;;
52 if test "$symlink" ; then
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_file_test.c473 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
476 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
481 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
484 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
489 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
492 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
497 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
500 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
505 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test()
508 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
/third_party/rust/crates/cxx/gen/src/
Dfs.rs110 fn symlink<'a>( in symlink() function
145 symlink(original.as_ref(), link.as_ref(), std::os::unix::fs::symlink) in symlink_file()
150 symlink( in symlink_file()
159 symlink( in symlink_dir()
/third_party/node/deps/npm/tap-snapshots/test/lib/commands/
Dlink.js.test.cjs13 …nk global linked pkg to local nm when using args > should create a local symlink to global pkg 1`]…
22 … global linked pkg to local workspace using args > should create a local symlink to global pkg 1`]…
32 …nds/link.js TAP link pkg already in global space > should create a local symlink to global pkg 1`]…
37 …js TAP link pkg already in global space when prefix is a symlink > should create a local symlink t…
/third_party/toybox/
Dinstall.py44 os.symlink("../../bin/toybox", target_link)
46 os.symlink("../bin/toybox", target_link)
48 os.symlink("toybox", target_link)
DMakefile46 scripts/install.sh --symlink --force
49 scripts/install.sh --symlink --force --airlock
52 scripts/install.sh --long --symlink --force
/third_party/typescript/src/harness/
DvfsUtil.ts396 result += path + " -> " + node.symlink;
475 … /*size*/ isFile(node) ? this._getSize(node) : isSymlink(node) ? node.symlink.length : 0,
627 node.symlink = vpath.validate(target, vpath.ValidationFlags.RelativeOrAbsolute);
830 if (changedNode.symlink === baseNode.symlink) return false;
831 container[basename] = new Symlink(changedNode.symlink);
842 container[basename] = new Symlink(node.symlink);
977 if (isSymlink(root)) (shadow as SymlinkInode).symlink = root.symlink;
1060 const symlink = vpath.resolve(dirname, node.symlink); constant
1063 components = vpath.parse(symlink).concat(components.slice(step + 1));
1112 this.symlinkSync(vpath.resolve(dirname, entry.symlink), path);
[all …]
/third_party/node/deps/npm/node_modules/bin-links/lib/
Dlink-gently.js8 const { lstat, mkdir, readlink, rm, symlink } = require('fs/promises')
75 return symlink(from, to, 'file').catch(er => {
77 return rm(to, rmOpts).then(() => symlink(from, to, 'file'))
/third_party/curl/lib/
Dftplistparser.c121 } symlink; member
722 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRESPACE; in Curl_ftp_parselist()
780 switch(parser->state.UNIX.sub.symlink) { in Curl_ftp_parselist()
785 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_NAME; in Curl_ftp_parselist()
791 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET1; in Curl_ftp_parselist()
801 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET2; in Curl_ftp_parselist()
808 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_NAME; in Curl_ftp_parselist()
814 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET3; in Curl_ftp_parselist()
821 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_NAME; in Curl_ftp_parselist()
827 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET4; in Curl_ftp_parselist()
[all …]
/third_party/toybox/toys/posix/
Drm.c62 if (try->symlink) goto skip; in do_rm()
82 if (!dir || try->symlink != (char *)2) perror_msg_raw(try->name); in do_rm()
84 if (try->parent) try->parent->symlink = (char *)2; in do_rm()
/third_party/toybox/porting/liteos_a/
DMakefile46 scripts/install.sh --symlink --force
49 scripts/install.sh --symlink --force --airlock
52 scripts/install.sh --long --symlink --force
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dsymlink.c32 int result = symlink(file_name, link_name); in symlink_0100()
52 int result = symlink(file_name, link_name); in symlink_0200()
/third_party/typescript/src/testRunner/unittests/tsserver/
DcachingFileSystemInformation.ts550 const symlink: SymLink = { constant
564 const host = createServerHost([module1, module2, symlink, config, libFile]);
566 service.openClientFile(`${symlink.path}/module2.ts`);
569 …checkProjectActualFiles(project, [module1.path, `${symlink.path}/module2.ts`, config.path, libFile…
570 host.writeFile(`${symlink.path}/module3.ts`, `import * as M from "folder1/module1";`);
573 …ojectActualFiles(project, [module1.path, `${symlink.path}/module2.ts`, config.path, libFile.path, …
/third_party/toybox/tests/
Dfile.test13 ln -s $FILES/java.class symlink
14 LINK=$(readlink symlink)

12345678910>>...15