- 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

@ -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 wait:tomorrow};
$output = qx{../task rc:hook.rc info 1};
qx{../src/task rc:hook.rc add foo wait:tomorrow};
$output = qx{../src/task rc:hook.rc info 1};
like ($output, qr/^<<\d+>>$/ms, 'Hook called task_get_wait');
}
else