Skip Menu |

This queue is for tickets about the XML-Debian-ENetInterfaces CPAN distribution.

Report information
The Basics
Id: 120028
Status: open
Priority: 0/
Queue: XML-Debian-ENetInterfaces

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

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



Subject: 10-run.t should ignore whitespace differences
On a debian system I see the following failure: ... # Failed test 'Write out interfaces compare to system interfaces.' # at t/10-run.t line 83. # +---+-----------------------------------------+-----------------------------------------+ # | Ln|Got |Expected | # +---+-----------------------------------------+-----------------------------------------+ ... # | 6| | | # | 7|# device: eth0 |# device: eth0 | # * 8|auto eth0 |auto eth0 * # | 9|iface eth0 inet dhcp |iface eth0 inet dhcp | # | 10| | | ... Removing the extra space after "auto" in /etc/network/interfaces "fixed" the failure. Probably the test should ignore whitespace-only diffs, or maybe the module should try to preserve them.
Subject: Re: [rt.cpan.org #120028] 10-run.t should ignore whitespace differences
Date: Sun, 9 Apr 2017 22:38:22 -0500
To: "bug-XML-Debian-ENetInterfaces [...] rt.cpan.org" <bug-XML-Debian-ENetInterfaces [...] rt.cpan.org>
From: Mike Mestnik <cheako [...] mikemestnik.net>
I don't think it's a big deal, if anything the test against system interfaces should be removed. On Sunday, January 29, 2017, Slaven_Rezic via RT < bug-XML-Debian-ENetInterfaces@rt.cpan.org> wrote: Show quoted text
> Sun Jan 29 08:09:15 2017: Request 120028 was acted upon. > Transaction: Ticket created by SREZIC > Queue: XML-Debian-ENetInterfaces > Subject: 10-run.t should ignore whitespace differences > Broken in: 0.07 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org <javascript:;> > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=120028 > > > > On a debian system I see the following failure: > > ... > # Failed test 'Write out interfaces compare to system interfaces.' > # at t/10-run.t line 83. > # +---+-----------------------------------------+------------- > ----------------------------+ > # | Ln|Got |Expected > | > # +---+-----------------------------------------+------------- > ----------------------------+ > ... > # | 6| | > | > # | 7|# device: eth0 |# device: eth0 > | > # * 8|auto eth0 |auto eth0 > * > # | 9|iface eth0 inet dhcp |iface eth0 inet dhcp > | > # | 10| | > | > ... > > Removing the extra space after "auto" in /etc/network/interfaces "fixed" > the failure. Probably the test should ignore whitespace-only diffs, or > maybe the module should try to preserve them. >