From 0c61f50da64ce71afeca3831e9e60e66f940540c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 2 Nov 2014 23:59:22 -0500 Subject: [PATCH] Unit Tests - Corrected for absolute path names in the Config::load timing. --- test/feature.1013.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/feature.1013.t b/test/feature.1013.t index 5ea4256f3..75a28cfd5 100755 --- a/test/feature.1013.t +++ b/test/feature.1013.t @@ -67,9 +67,9 @@ like ($stderr, qr/^Configuration override rc.debug:on$/ms, "$ut: Footnotes are # Check that debugs are sent to standard error $stdout = qx{../src/task rc:$rc rc.debug:on list 2> /dev/null}; -unlike ($stdout, qr/^Timer Config::load \($rc\) /ms, "$ut: Debugs are not sent to stdout"); +unlike ($stdout, qr/^Timer Config::load \(.*$rc\) /ms, "$ut: Debugs are not sent to stdout"); $stderr = qx{../src/task rc:$rc rc.debug:on list 2>&1 >/dev/null}; -like ($stderr, qr/^Timer Config::load \($rc\) /ms, "$ut: Debugs are sent to stderr"); +like ($stderr, qr/^Timer Config::load \(.*$rc\) /ms, "$ut: Debugs are sent to stderr"); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data), $rc;