Skip Menu |

This queue is for tickets about the Test-Command-Simple CPAN distribution.

Report information
The Basics
Id: 105018
Status: resolved
Priority: 0/
Queue: Test-Command-Simple

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: libtest-command-simple-perl: exit_status() as advertised in POD is not exported
We have the following bug reported to the Debian package of Test-Command-Simple (https://bugs.debian.org/781190): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- 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 ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
Thanks, minor oversight. Should be fixed in 0.05. Thanks for the report!