# only do the rsync if we don't (appear to) require a password eval { local $SIG{ALRM} = sub { die "alarm\n" }; # NB: \n required alarm 5; $zucchini_rsync->remote_sync(); alarm 0; };
SKIP: { skip q{remote_sync() taking too long; assuming stuck at password prompt}, 1 if (my $e = $@);
TODO: {
local $TODO = q{Write directory comparison test};
ok(0, q{compare directories});
};
};
# it would be nice to reset the terminal/STDOUT if we triggered the alarm