Skip to content

Conversation

@etcwilde
Copy link
Member

FreeBSD installs rsync to /usr/local/bin instead of /usr/bin, which caused the remote-run tests to fail when they should have run fine because rsync was installed. remote-run should be able to grab an rsync on the path if it exists.

Also replacing the sftp_server in the available features with rsync and migrated the remote-run tests off of requiring an sftp_server since the tests no longer use it.

etcwilde added 2 commits June 25, 2025 13:20
The current remote-run implementation only works if rsync is located at
`/usr/bin/`, which isn't always the case. FreeBSD installs rsync to
`/usr/local/bin` as it is not installed in the base system by default.
Relax the script to accept rsync on any path.
remote-run uses rsync instead of sftp server. Some of the tests were
incorrectly labelled as requiring sftp server. Fixed those and replaced
the requirement with rsync.
@etcwilde etcwilde requested a review from al45tair June 25, 2025 20:45
@etcwilde
Copy link
Member Author

@swift-ci please test

@etcwilde
Copy link
Member Author

@swift-ci please test Linux

Copy link
Contributor

@al45tair al45tair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@etcwilde etcwilde merged commit c7d5f03 into swiftlang:main Jun 26, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants