Coder Social home page Coder Social logo

moox-ipc-cmd's People

Contributors

cazador481 avatar

Watchers

 avatar  avatar

Forkers

haarg

moox-ipc-cmd's Issues

$perl_path missing in t/09_system.t

Tests are failing on most systems: http://matrix.cpantesters.org/?dist=MooX-Ipc-Cmd%201.1.0
Probably this can be fixed by applying the following patch:

diff --git i/t/09_system.t w/t/09_system.t
index 5b4eae3..aa15874 100644
--- i/t/09_system.t
+++ w/t/09_system.t
@@ -57,6 +57,6 @@ dies_ok(sub {$test->_system(['adsfadsf/adsfasfd'])}, 'Non existing file');

 is ($@->exit_status,-1,'Non existing exit status');

-throws_ok{$test->_system(['stderr_output.pl 1'])} qr/  Hello\n  Goodbye\n/m,'Captures stderr';
+throws_ok{$test->_system([$perl_path, 'stderr_output.pl', '1'])} qr/  Hello\n  Goodbye\n/m,'Captures stderr';

 1;

Test failures with non-English locale

Test suite of 1.0.0 fails with non-English locale (e.g. LC_ALL=de_DE.UTF-8):

Running make test
PERL_DL_NONLAZY=1 "/opt/perl-5.18.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ........... ok
"our" variable $VERSION redeclared at /opt/perl-5.18.2/lib/site_perl/5.18.2/MooX/Log/Any.pm line 3.
t/03_signal.t ............ ok
"our" variable $VERSION redeclared at /opt/perl-5.18.2/lib/site_perl/5.18.2/MooX/Log/Any.pm line 3.
sh: 1: [/opt/perl-5.18.2/bin/perl: not found

#   Failed test 'failed capture'
#   at t/04_capture.t line 57.
#                   'Datei oder Verzeichnis nicht gefunden'
#     doesn't match '(?^:No such file or directory)'
# Looks like you failed 1 test of 9.
t/04_capture.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests
"our" variable $VERSION redeclared at /opt/perl-5.18.2/lib/site_perl/5.18.2/MooX/Log/Any.pm line 3.

#   Failed test 'failed capture'
#   at t/05_multi_capture.t line 64.
#                   'Datei oder Verzeichnis nicht gefunden'
#     doesn't match '(?^:No such file)'
# Looks like you failed 1 test of 13.
t/05_multi_capture.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests
        (less 2 skipped subtests: 10 okay)
"our" variable $VERSION redeclared at /opt/perl-5.18.2/lib/site_perl/5.18.2/MooX/Log/Any.pm line 3.
t/09_system.t ............ ok
t/author-critic.t ........ skipped: these tests are for testing by the author
t/release-unused-vars.t .. skipped: these tests are for release candidate testing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.