Bug#781190: libtest-command-simple-perl: exit_status() as advertised in POD is not exported

Axel Beckert abe at debian.org
Wed Mar 25 21:37:41 UTC 2015


Package: libtest-command-simple-perl
Version: 0.04-4
Severity: normal
Tags: upstream

Test::Command::Simple(3pm) says:

  EXPORTS
     […]
     exit_status
         Returns the exit status of the last run

But with

  use Test::Command::Simple;
  run('echo', 'foobar');
  is(exit_status(), 0);

I get

  Undefined subroutine &main::exit_status called at … line ….

Looking at /usr/share/perl5/Test/Command/Simple.pm, line 24ff.,
exit_status is not exported.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental'), (109, 'buildd-unstable'), (109, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libtest-command-simple-perl depends on:
ii  perl  5.20.2-2

libtest-command-simple-perl recommends no packages.

libtest-command-simple-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list