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