Unit Tests

- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
Paul Beckingham
2012-07-03 15:43:19 -04:00
parent 75822eed47
commit da575c4043
185 changed files with 1591 additions and 1591 deletions

View File

@@ -46,9 +46,9 @@ if (open my $fh, '>', 'uda.rc')
}
# Add tasks with and without the UDA.
qx{../src/task rc:uda.rc add with extra:\\"one two\\"};
qx{../src/task rc:uda.rc add without};
my $output = qx{../src/task rc:uda.rc uda};
qx{../src/task rc:uda.rc add with extra:\\"one two\\" 2>&1};
qx{../src/task rc:uda.rc add without 2>&1};
my $output = qx{../src/task rc:uda.rc uda 2>&1};
like ($output, qr/1\s+one two\s+with/, 'UDA string stored');
like ($output, qr/2\s+without/, 'UDA string blank');