Commit Graph

5 Commits

Author SHA1 Message Date
Evan Wilde
12e784c3c8 Replace sftp_server with rsync
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.
2025-06-25 13:39:01 -07:00
Evan Wilde
80863f0bf1 remote-run: Find rsync on path
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.
2025-06-25 13:20:30 -07:00
Alastair Houghton
2f6f051f75 Use rsync for remote-run.
Not only does this give us a huge speed-up, it also works around a problem
where sftp doesn't always update the modification time, which causes random
test failures.

rdar://88179140
2022-02-01 19:21:23 +00:00
Saleem Abdulrasool
043912fd93 remote-run: make tests partially pass on Windows
Not all the tests are possible to run on Windows since they expect a
Unix-like shell environment.  However, the rest of the tests can be
accommodated.  This actually found an issue in the implementation.
Since the implementation assumes the target is POSIX/Unix-y, we should
use posixpath rather than os.path which uses the host's path style.
2018-12-02 20:58:19 -08:00
Jordan Rose
0aed9e05cc [remote-run] Add a -n/--dry-run mode that /just/ dumps commands
Like -v, but doesn't actually run anything.
2018-08-08 17:44:28 -07:00