From 6b64dcc122a36c4d549298e40e2c8cdbbaae2c3f Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Tue, 27 Nov 2012 23:39:49 +0100 Subject: [PATCH] Call scripts in tests with local library paths --- t/getopt.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/getopt.t b/t/getopt.t index 4eb0b35..22ae247 100755 --- a/t/getopt.t +++ b/t/getopt.t @@ -41,7 +41,7 @@ sub testFile # # Run the file with "--help" and capture the output. # - my $output = `$file --help`; + my $output = `perl -Ilib $file --help`; # # Parse out the options we accept