- 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

@@ -51,12 +51,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/)
{
qx{../task rc:hook.rc add foo};
qx{../task rc:hook.rc add bar};
$output = qx{../task rc:hook.rc ls};
qx{../src/task rc:hook.rc add foo};
qx{../src/task rc:hook.rc add bar};
$output = qx{../src/task rc:hook.rc ls};
like ($output, qr/\(1\)\s+foo/, 'format-id hook 1 -> (1)');
like ($output, qr/\(2\)\s+bar/, 'format-id hook 2 -> (2)');