[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Author tests and IPC::System::Simple



On Tue, 16 Dec 2008 01:49:05 +0100, Jonas Smedegaard wrote:

> >gregoa@belanna:~/src/svn-pkg-perl/trunk/libipc-system-simple-perl$ TEST_AUTHOR=1 prove --blib --verbose t/08_core.t 
> >t/08_core....1..3
> >ok 1 - use IPC::System::Simple;
> >ok 2
> >not ok 3
> >
> >#   Failed test at t/08_core.t line 45.
> >#                   '"/usr/bin/perl" died to signal "ABRT" (6) at t/08_core.t line 41
> ># '
> >#     doesn't match '(?-xism:dumped core)'
> ># Looks like you failed 1 test of 3.
> >dubious

> >gregoa@belanna:~/src/svn-pkg-perl/trunk/libipc-system-simple-perl$ svn st
> >?      pm_to_blib
> >?      blib
> >?      Makefile
> >?      t/core

> >Maybe someone who knows more about Perl on Debian can add some ideas?

Thanks for your ideas!
 
> 1) Check with ulimit command and/or /etc/security/limits.conf if you are 
> allowed to dump core at all.

$ ulimit
unlimited
$ egrep -v '^(#|$)' /etc/security/limits.conf
$ 

And as shown above after running the test there is a t/core file.
 
> 2) Check if perhaps that test is run using custom locale: it might fail 
> grepping for the english expression on non-english machines.

The whole output can be seen above and it doesn't look very !en :)
And it shouldn't:

$ locale
LANG=C
LC_CTYPE=de_AT@euro
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

To be sure I've tried again with 
$ LC_ALL=C TEST_AUTHOR=1 prove --blib --verbose t/08_core.t
and there are no changes.

If I use Data::Dumper to print $@ after the eval and before the tests
2 and 3 all I get is the same as the output above:
----------------------------------------------------------------------
$VAR1 = '"/usr/bin/perl" died to signal "ABRT" (6) at t/08_core.t line 41
';
----------------------------------------------------------------------
No "dumped core", nothing else.


Cheers,
gregor 
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Leonard Cohen: Bird On The Wire

Attachment: signature.asc
Description: Digital signature


Reply to: