Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial rsync tests #1357

Merged
merged 3 commits into from
Jun 26, 2020
Merged

Add initial rsync tests #1357

merged 3 commits into from
Jun 26, 2020

Conversation

ferki
Copy link
Member

@ferki ferki commented Jun 25, 2020

This PR is an attempt to fix #1354 by adding some initial rsync tests. For that, it also needs to introduce capability to handle local rsync operations.

Later, the test suite could be extended with additional checks, like testing behavior with wildcards or spaces in the path, and perhaps even sudo to some extent (I guess on Travis CI at least).

Checklist

  • tests pass on Travis CI
  • git history is clean
  • git commit messages are well-written

@ferki ferki force-pushed the rsync_test branch 3 times, most recently from 54f8086 to cb6db56 Compare June 25, 2020 23:41
@ferki ferki force-pushed the rsync_test branch 3 times, most recently from 6b872ea to db83c1e Compare June 26, 2020 09:50
@ferki ferki marked this pull request as ready for review June 26, 2020 13:46
@ferki
Copy link
Member Author

ferki commented Jun 26, 2020

Since a big chunk of code was indented due to moving it into one branch of a condition, this PR is best viewed with the whitespace-only changes suppressed by adding ?w=1 to the URL.

@ferki ferki merged commit 93f034b into master Jun 26, 2020
@ferki ferki deleted the rsync_test branch June 26, 2020 18:43
@sdondley
Copy link
Contributor

Cool. Thanks for giving Rsync some sweet, sweet love.

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.

Create tests for Rex::Commands::Rsync
2 participants