diff options
author | Matt Clay <matt@mystile.com> | 2019-08-16 12:47:21 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2019-08-16 14:00:43 -0700 |
commit | ebe55e83c3d7db908ad107a1822b9dd982171f63 (patch) | |
tree | e52013f065f6d31850e95f87f82bd30e179cea5a /test/lib/ansible_test | |
parent | 6a5cbcf8b887487876640098454dd033600b73d4 (diff) | |
download | ansible-ebe55e83c3d7db908ad107a1822b9dd982171f63.tar.gz |
Fix ansible-test bin creation.
Use symlink instead of link.
Diffstat (limited to 'test/lib/ansible_test')
-rw-r--r-- | test/lib/ansible_test/_internal/payload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/payload.py b/test/lib/ansible_test/_internal/payload.py index 4cc9f7b5fa..401b7f29c3 100644 --- a/test/lib/ansible_test/_internal/payload.py +++ b/test/lib/ansible_test/_internal/payload.py @@ -118,6 +118,6 @@ def create_temporary_bin_files(args): # type: (CommonConfig) -> t.Tuple[t.Tuple for name, dest in ANSIBLE_BIN_SYMLINK_MAP.items(): path = os.path.join(temp_path, name) - os.link(dest, path) + os.symlink(dest, path) return tuple((os.path.join(temp_path, name), os.path.join('bin', name)) for name in sorted(ANSIBLE_BIN_SYMLINK_MAP)) |