From 2843dd195b47c1ee1bbc82d911a1f884f3b53f9b Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 22 Nov 2006 21:59:07 +0000 Subject: [PATCH] update ErrorHandler test to work from either . or sbin --- t/Session/ErrorHandler.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Session/ErrorHandler.t b/t/Session/ErrorHandler.t index 53d8d1bf7..23ccdbc88 100644 --- a/t/Session/ErrorHandler.t +++ b/t/Session/ErrorHandler.t @@ -134,7 +134,7 @@ is($eh->{'_debug_error'}, "ERROR\nMore errors\n", "error: new message internally #################################################### is ($eh->getStackTrace, undef, 'no stack trace due to shallow depth, must be 2 deep for a stack trace'); -like(&depth1(), qr/main,ErrorHandler\.t/, 'stack trace has correct information'); +like(&depth1(), qr/main(.*?)ErrorHandler\.t/, 'stack trace has correct information'); sub depth1 { return &depth2();