# from Eric Mountain
# on Thursday 12 April 2007 02:02 pm:

>(An alternative would be to use dummy programs/scripts in place of the
> real rsync and pre/post-scripts.  Eric W. might be able to comment on
> which is the best way to go and why?)

I hadn't thought of that.  Possibly a fake rsync would be feasible.  It 
would maybe have some benefits, though what could it do that we 
couldn't accomplish in-process by dispatching from system()?  Say we 
want to test the validation/verification bits:  just have the system() 
dispatch to something that makes a tree, log, etc.

May need to look at how dirvish picks `which rsync` and make sure that 
it test-friendly.  In the past, (IIRC) I think it has been hardcoded 
into the installed code by the build :-(

--Eric
-- 
Moving pianos is dangerous.
Moving pianos are dangerous.
Buffalo buffalo buffalo buffalo buffalo buffalo buffalo.
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
_______________________________________________
Dirvish mailing list
[EMAIL PROTECTED]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to