rsnapshot/t/backup_exec/backup_exec.t.in
2015-06-14 23:20:34 +02:00

10 lines
268 B
Perl

#!@PERL@
use strict;
use Test::More tests => 2;
use SysWrap;
# Ensure passing behavior
ok(2 == rsnapshot("-c @TEST@/backup_exec/conf/backup_exec.conf hourly"));
# Ensure failing behavior
ok(1 == rsnapshot("-c @TEST@/backup_exec/conf/backup_exec_fail.conf hourly"));