Cmake:
- adapted makefile and unit tests to new place of test dir
This commit is contained in:
@@ -50,12 +50,12 @@ if (open my $fh, '>', 'hook')
|
||||
ok (-r 'hook', 'Created hook');
|
||||
}
|
||||
|
||||
my $output = qx{../task rc:hook.rc version};
|
||||
my $output = qx{../src/task rc:hook.rc version};
|
||||
if ($output =~ /PUC-Rio/)
|
||||
{
|
||||
# Test the hook.
|
||||
qx{../task rc:hook.rc add foo due:tomorrow recur:weekly until:eoy};
|
||||
$output = qx{../task rc:hook.rc info 1};
|
||||
qx{../src/task rc:hook.rc add foo due:tomorrow recur:weekly until:eoy};
|
||||
$output = qx{../src/task rc:hook.rc info 1};
|
||||
like ($output, qr/^<<\d+>>$/ms, 'Hook called task_get_until');
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user