- 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

@ -41,11 +41,11 @@ if (open my $fh, '>', 'shell.rc')
}
# Test the prompt.
my $output = qx{echo "\\nquit\\n" | ../task rc:shell.rc shell};
my $output = qx{echo "\\nquit\\n" | ../src/task rc:shell.rc shell};
like ($output, qr/testprompt>/, 'custom prompt is being used');
# Test a simple add, then info.
$output = qx{echo "add foo\ninfo 1\n" | ../task rc:shell.rc shell};
$output = qx{echo "add foo\ninfo 1\n" | ../src/task rc:shell.rc shell};
like ($output, qr/Description\s+foo/, 'add/info working');
# Cleanup.