- adapted makefile and unit tests to new place of test dir
This commit is contained in:
Federico Hernandez
2010-12-28 21:38:03 +01:00
parent 17ef077e27
commit 5d775fdc3e
176 changed files with 1288 additions and 1287 deletions

View File

@@ -40,12 +40,12 @@ if (open my $fh, '>', 'recur.rc')
# Add a recurring task, then see how many future pending tasks are
# generated by default, and by overriding rc.recurrence.limit.
qx{../task rc:recur.rc add ONE due:tomorrow recur:weekly};
my $output = qx{../task rc:recur.rc long};
qx{../src/task rc:recur.rc add ONE due:tomorrow recur:weekly};
my $output = qx{../src/task rc:recur.rc long};
my @tasks = $output =~ /(ONE)/g;
is (scalar @tasks, 1, 'recurrence.limit default to 1');
$output = qx{../task rc:recur.rc rc.recurrence.limit:4 long};
$output = qx{../src/task rc:recur.rc rc.recurrence.limit:4 long};
@tasks = $output =~ /(ONE)/g;
is (scalar @tasks, 4, 'recurrence.limit override to 4');