summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-08-16 12:47:21 -0700
committerMatt Clay <matt@mystile.com>2019-08-16 14:00:43 -0700
commitebe55e83c3d7db908ad107a1822b9dd982171f63 (patch)
treee52013f065f6d31850e95f87f82bd30e179cea5a /test/lib/ansible_test
parent6a5cbcf8b887487876640098454dd033600b73d4 (diff)
downloadansible-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.py2
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))