Ignore failing unarchive test on FreeBSD (#85601)

This commit is contained in:
Matt Clay
2025-07-30 15:42:38 -07:00
committed by GitHub
parent 29a298a617
commit 8aad1418f6

View File

@@ -43,6 +43,12 @@
assert:
that:
- "unarchive03b.changed == false"
# This test is broken on FreeBSD when running split, but not when running on the controller (2.19 and earlier).
# On the controller, 'foo-unarchive-777.txt' is extracted as 0755, and the test never verifies it should be 0777.
# The unarchive module expects the permissions to be 0755 in this case, so does not report it as changed.
# When split, it is extracted as 0777, which causes the test to fail because it is reported as changed.
# This appears to be due to faulty logic in unarchive around the permissions expected on BSD.
when: ansible_distribution != 'FreeBSD'
- name: nuke zip destination
file: