Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How do I allow my test script to get rsync to archive file ownership?

by Arunbear (Prior)
on Jan 22, 2018 at 18:20 UTC ( #1207696=note: print w/replies, xml ) Need Help??


in reply to How do I allow my test script to get rsync to archive file ownership?

What are your tests trying to verify? Bear in mind that Net::OpenSSH and rsync have their own test suites, so you don't need to retest functionality that they are responsible for.
  • Comment on Re: How do I allow my test script to get rsync to archive file ownership?

Replies are listed 'Best First'.
Re^2: How do I allow my test script to get rsync to archive file ownership?
by nysus (Vicar) on Jan 22, 2018 at 18:50 UTC

    I'm testing that my objects which contain wrappers to Net::OpenSSH (which wraps rsync) are properly syncing files to and from a server. So for example, I can rsync easily and safely with something like this:

    # set up my server my $server = Server->new('host_name'); $server->set_remote_dir('/my/files'); $server->rsync_dir;

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1207696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2020-09-29 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (146 votes). Check out past polls.

    Notices?