diff --git a/test/bug.1065.t b/test/bug.1065.t index c1cd2429a..5f25f1abd 100755 --- a/test/bug.1065.t +++ b/test/bug.1065.t @@ -55,7 +55,7 @@ ok ($? == 0, 'Exit status check'); unlike ($output, qr/Some of your .taskrc variables differ/, 'Message is not shown when no non-default matches in pattern'); # Bug 1065 - CmdShow should not display the unrecognized message if no non-default in matched elements. -my $output = qx{../src/task rc:bug.rc show notrecog 2>&1}; +$output = qx{../src/task rc:bug.rc show notrecog 2>&1}; ok ($? == 0, 'Exit status check'); like ($output, qr/Your .taskrc file contains these unrecognized variables:/, 'Message is shown when unrecognized matches in pattern'); diff --git a/test/bug.956.t b/test/bug.956.t index 0b2300407..1bc5e01fa 100755 --- a/test/bug.956.t +++ b/test/bug.956.t @@ -43,10 +43,10 @@ if (open my $fh, '>', 'bug.rc') qx{../src/task rc:bug.rc add test 2>&1}; -my $output = qx{TASKRC=bug.rc ../src/task rc:bug.rc ids}; +my $output = qx{TASKRC=bug.rc ../src/task rc:bug.rc ids 2>&1}; unlike ($output, qr/TASKRC/ms, 'The header does not appear with "ids"'); -$output = qx{TASKRC=bug.rc ../src/task uuids}; +$output = qx{TASKRC=bug.rc ../src/task uuids 2>&1}; unlike ($output, qr/TASKRC/ms, 'The header does not appear with "uuids"'); $output = qx{TASKRC=bug.rc ../src/task _ids 2>&1};