mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
parent
75822eed47
commit
da575c4043
185 changed files with 1591 additions and 1591 deletions
|
@ -56,9 +56,9 @@ eval
|
|||
{
|
||||
$SIG{'ALRM'} = sub {die "alarm\n"};
|
||||
alarm 10;
|
||||
my $output = qx{../src/task rc:hang.rc list;
|
||||
../src/task rc:hang.rc add due:today recur:1d infinite loop;
|
||||
../src/task rc:hang.rc info 1};
|
||||
my $output = qx{../src/task rc:hang.rc list 2>&1;
|
||||
../src/task rc:hang.rc add due:today recur:1d infinite loop 2>&1;
|
||||
../src/task rc:hang.rc info 1 2>&1};
|
||||
alarm 0;
|
||||
|
||||
like ($output, qr/^Description\s+infinite loop\n/m, 'no hang');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue