From 7b1dec0d776f9540f9e869986f0166834752d2a9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 15 Mar 2009 19:15:35 -0400 Subject: [PATCH] Bug Fix - abbreviation.t - abbreviation.t contains unit tests that fail to specify an alternate rc file (rc:abbrev.rc), and so instead rely on ~/.taskrc. For a new installation, there is no .taskrc, so task offers to create one. When done in the context of a unit test, task hangs waiting for input. --- src/tests/abbreviation.t | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/tests/abbreviation.t b/src/tests/abbreviation.t index 18d330e65..4f798c0ee 100755 --- a/src/tests/abbreviation.t +++ b/src/tests/abbreviation.t @@ -67,25 +67,25 @@ like ($output, qr/\bwith\b/, 'pri:H with'); unlike ($output, qr/\bwithout\b/, 'pri:H without'); # Test the version command abbreviations. -$output = qx{../task version}; +$output = qx{../task rc:abbrev.rc version}; like ($output, qr/ABSOLUTELY NO WARRANTY/, 'version'); -$output = qx{../task versio}; +$output = qx{../task rc:abbrev.rc versio}; like ($output, qr/ABSOLUTELY NO WARRANTY/, 'versio'); -$output = qx{../task versi}; +$output = qx{../task rc:abbrev.rc versi}; like ($output, qr/ABSOLUTELY NO WARRANTY/, 'versi'); -$output = qx{../task vers}; +$output = qx{../task rc:abbrev.rc vers}; like ($output, qr/ABSOLUTELY NO WARRANTY/, 'vers'); -$output = qx{../task ver}; +$output = qx{../task rc:abbrev.rc ver}; like ($output, qr/ABSOLUTELY NO WARRANTY/, 'ver'); -$output = qx{../task ve}; +$output = qx{../task rc:abbrev.rc ve}; like ($output, qr/ABSOLUTELY NO WARRANTY/, 've'); -$output = qx{../task v}; +$output = qx{../task rc:abbrev.rc v}; like ($output, qr/ABSOLUTELY NO WARRANTY/, 'v'); # Cleanup.