projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5da1e5
)
Make sure @INC is modified before 'using' the sshhelp module.
author
Yang Tse
<yangsita@gmail.com>
Fri, 4 Jan 2008 03:05:33 +0000
(
03:05
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Fri, 4 Jan 2008 03:05:33 +0000
(
03:05
+0000)
tests/runtests.pl
patch
|
blob
|
history
diff --git
a/tests/runtests.pl
b/tests/runtests.pl
index
9cdcfe5
..
cae40bb
100755
(executable)
--- a/
tests/runtests.pl
+++ b/
tests/runtests.pl
@@
-56,13
+56,15
@@
# These should be the only variables that might be needed to get edited:
+BEGIN {
+ @INC=(@INC, $ENV{'srcdir'}, ".");
+}
+
use strict;
#use Time::HiRes qw( gettimeofday );
#use warnings;
use Cwd;
-@INC=(@INC, $ENV{'srcdir'}, ".");
-
# Variables and subs imported from sshhelp module
use sshhelp qw(
$sshexe