Lines Matching refs:link

70                 Only dir, file, link, and hardlink actions are compared.
101 if a.name in ("dir", "file", "link", "hardlink")
105 # For each dir, file, link, or hardlink action, verify that the
393 """Verify that when provided the name of a symbolic link to a
402 # Then, create a link to it.
459 # link-foo -> file-foo
484 os.symlink(os.path.basename(top_file), "link-{0}".format(name))
487 # Hard link at top level in source directory.
488 os.link(top_file, os.path.join(src_dir,
513 # Hard link in top_dir to file in parent dir.
514 os.link(top_file, os.path.join(top_dir,
517 # Hard link in top_dir to file in top_dir.
518 os.link(top_dir_file, os.path.join(top_dir,
535 link path=link-foo target=file-foo
539 link path=dir-foo/sublink-foo target=../file-foo
540 link path=dir-foo/subfilelink-foo target=subfile-foo
546 link path=link-bar target=file-bar
550 link path=dir-bar/sublink-bar target=../file-bar
551 link path=dir-bar/subfilelink-bar target=subfile-bar
1297 """Verify that publishing a manifest with a link with a payload
1303 link payload-pathname path=/usr/bin/foo target=bar""")
1556 for link in links:
1557 lpath = os.path.join(rootdir, link)
1561 os.link(tpath, lpath)
1563 link, os.path.relpath(tpath, ldir))
1564 # Add the directories implied by the link
1565 dirs.update(dirlist(os.path.dirname(link)))
1598 # Target and link in the same directory
1601 # Target and link in the same directory, one level down
1604 # Target and link in different directories, at the same level
1607 # Target and link at different levels
1613 # Target and link at different levels, one level lower
1616 # Target and link at different levels, two levels apart