#!/usr/bin/perl use strict; use Test::More tests => 1; # check for GNU cp my @lines = `/usr/local/bin/cp --help | grep -i 'gnu'`; SKIP: { skip('GNU cp not found', 1) if (@lines == 0); ok(! `/usr/local/bin/perl ./rsnapshot -c t/support/etc/gnu_cp.conf hourly`); }