Skip Menu |

This queue is for tickets about the Sendmail-Queue CPAN distribution.

Report information
The Basics
Id: 98449
Status: open
Priority: 0/
Queue: Sendmail-Queue

People
Owner: dfs+pause [...] roaringpenguin.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Test failure if TMPDIR is set
See http://www.cpantesters.org/cpan/report/2cf273e0-e7d5-11e1-a8b6-f03a212b396a for a sample report. TMPDIR is set here to something like /var/tmp/cpansmoker, but the regexp is checking for /tmp.
Subject: Re: [rt.cpan.org #98449] Test failure if TMPDIR is set
Date: Thu, 11 Sep 2014 10:08:25 -0400
To: bug-Sendmail-Queue [...] rt.cpan.org
From: "David F. Skoll" <dfs [...] roaringpenguin.com>
Hi, Thanks for your bug report. I believe the patch below will fix the test failure; it will be in the next release. Regards, David. commit c8fa3ce65ae13318bf783e169bf4de7e8ce9bbe5 Author: David F. Skoll <dfs@roaringpenguin.com> Date: Thu Sep 11 10:06:28 2014 -0400 Fix CPAN ticket #98449. diff --git a/t/sendmail-queue.t b/t/sendmail-queue.t index aae3518..526d658 100644 --- a/t/sendmail-queue.t +++ b/t/sendmail-queue.t @@ -279,7 +279,7 @@ EOM chmod 0755, $self->{tmpdir}; - like( $@, qr{Error creating qf file /tmp/[^/]+/qfn1DNVU..\d{6}: Permission denied}, 'Got expected error'); + like( $@, qr{Error creating qf file .*/qfn1DNVU..\d{6}: Permission denied}, 'Got expected error'); my @qf = glob("$self->{tmpdir}/qf*"); my @df = glob("$self->{tmpdir}/df*");