Update of /cvsroot/fink/fink/t/CLI
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31907/t/CLI
Modified Files:
ChangeLog capture.t
Log Message:
Hardcode perl interp to be same as one running the tests.
Due to apparent bug in Test::Harness that comes with perl<5.8.8, a
'perl' interp launched by a test script must always be the exact same
one that is running the tests.
Index: capture.t
===================================================================
RCS file: /cvsroot/fink/fink/t/CLI/capture.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- capture.t 21 Mar 2006 20:53:26 -0000 1.2
+++ capture.t 23 Mar 2006 17:45:07 -0000 1.3
@@ -146,7 +146,7 @@
close $fh;
local $ENV{PERL5LIB} = join(':', @INC);
- open my $subproc, '-|', "perl $fname" or die "Can't open subproc: $!";
+ open my $subproc, '-|', "/usr/bin/perl $fname" or die "Can't open
subproc: $!";
my $out = join('', <$subproc>);
close $subproc;
Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/t/CLI/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog 21 Mar 2006 20:53:26 -0000 1.2
+++ ChangeLog 23 Mar 2006 17:45:07 -0000 1.3
@@ -1,3 +1,7 @@
+2006-03-23 Daniel Macks <[EMAIL PROTECTED]>
+
+ * capture.t: Work around a bug in Test::Harness
+
2006-03-21 Dave Vasilevsky <[EMAIL PROTECTED]>
* capture.t: Make 'too many args' test compile at runtime.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits