mirror of
https://github.com/rsnapshot/rsnapshot.git
synced 2025-11-22 19:29:30 +01:00
10 lines
268 B
Perl
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"));
|