next try, typo

This commit is contained in:
TLINDEN
2015-04-14 18:02:51 +02:00
parent d742f64051
commit 2d0ffe10f8
2 changed files with 5 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ before_install:
- sudo make install - sudo make install
- cd .. - cd ..
- ./autogen.sh - ./autogen.sh
- git clone https://github.com/tlinden/p5mode tests/lib - git clone https://github.com/tlinden/p5mods tests/lib
compiler: compiler:
- clang - clang
- gcc - gcc

View File

@@ -23,12 +23,12 @@ use lib qw(lib);
BEGIN { BEGIN {
eval { eval {
require IPC::Run; require IPC::Run; # on win32
}; };
}; }
use IPC::Open3; # unix et al use this
use Test::More; use Test::More;
use IPC::Open3;
use IO::Select; use IO::Select;
use FileHandle; use FileHandle;
use Config::General qw(ParseConfig); use Config::General qw(ParseConfig);
@@ -220,6 +220,7 @@ sub run3 {
else { else {
@c = split /\s\s*/, $cmd; @c = split /\s\s*/, $cmd;
} }
my $ret = IPC::Run::run( \@c, \$input, \$o, \$e, IPC::Run::timeout( $timeout )); my $ret = IPC::Run::run( \@c, \$input, \$o, \$e, IPC::Run::timeout( $timeout ));
$$output = $o; $$output = $o;
$$error = $e; $$error = $e;