Skip Menu |

This queue is for tickets about the Pushmi CPAN distribution.

Report information
The Basics
Id: 32435
Status: new
Priority: 0/
Queue: Pushmi

People
Owner: Nobody in particular
Requestors: Paul.Hampson [...] Pobox.com
Cc:
AdminCc:

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



Subject: verify.t failure due to Tempfile created not being written to disk before use
Date: Sat, 19 Jan 2008 11:34:49 +1100
To: bug-Pushmi [...] rt.cpan.org
From: Paul TBBle Hampson <Paul.Hampson [...] Pobox.com>
The t/verify.t testcase currently fails on my Debian/Etch box, with the following errors: Use of uninitialized value in subroutine entry at /usr/lib/perl5/YAML/Syck.pm line 37. Can't use an undefined value as a HASH reference at /var/lib/gnats/Pushmi-v1.0.0/blib/lib/Pushmi/Test.pm line 135. Upon investigation, at this point in the test, the actual /tmp/pushmiXXXXX file created by File::Temp was empty. By adding: $f->seek( 0, SEEK_END ); after print $f Dump($config); in t/verify.t, the test continues correctly and passes. The seeking to the end is done once in the File::Temp manpage's examples, but never explained. >_< -- ----------------------------------------------------------- Paul "TBBle" Hampson, B.Sc, LPI, MCSE Very-later-year Asian Studies student, ANU The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361) Paul.Hampson@Pobox.com Of course Pacman didn't influence us as kids. If it did, we'd be running around in darkened rooms, popping pills and listening to repetitive music. -- Kristian Wilson, Nintendo, Inc, 1989 License: http://creativecommons.org/licenses/by/2.1/au/ -----------------------------------------------------------
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.