Subject: | Can't exec "rsync-new2old": No such file or directory |
The basics test may fail like this:
# git version = git version 2.1.4
Can't exec "rsync-new2old": No such file or directory at /opt/perl-5.12.5/lib/site_perl/5.12.5/IPC/System/Options.pm line 168.
Can't exec "rsync-new2old": No such file or directory at /opt/perl-5.12.5/lib/site_perl/5.12.5/IPC/System/Options.pm line 168.
Couldn't open sync/1/file1: No such file or directory at t/01-basics.t line 187.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 25 just after 12.
t/01-basics.t ............
Dubious, test returned 25 (wstat 6400, 0x1900)
All 12 subtests passed
I think there are two possible situations to make this happen:
- The module is just tested without installing anything --- in this case rsync-new2old old resides in blib/scripts of App-rsync-new2old, which is not in $ENV{PATH}.
- rsync-new2old is installed, but bin of the currently used perl is not in $ENV{PATH}. To fix this, one has to add $Config{scriptdir} or so to $ENV{PATH} in the using script.