Skip Menu |
 

This queue is for tickets about the Mason CPAN distribution.

Report information
The Basics
Id: 65859
Status: resolved
Priority: 0/
Queue: Mason

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

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



Subject: [PATCH] fix test
The test suite failed here. I've fixed it. See attachment for details.
Subject: 0001-fix-test.patch
Download 0001-fix-test.patch
text/x-diff 996b
From e1be1bdfcc70e532b18e75282b9224bf60ea40dc Mon Sep 17 00:00:00 2001 From: Danijel Tasov <dt@korn.shell.la> Date: Fri, 18 Feb 2011 00:46:25 +0100 Subject: [PATCH] fix test bin/mason has #!/usr/bin/perl in the shebang. When building for a different perl than that this test is likely to fail. --- t/mason-app.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/mason-app.t b/t/mason-app.t index d91cdcd..54f4262 100644 --- a/t/mason-app.t +++ b/t/mason-app.t @@ -8,6 +8,6 @@ use strict; my $tempdir = tempdir( 'mason-app-XXXX', TMPDIR => 1, CLEANUP => 1 ); my $comp_file = "$tempdir/hello.m"; write_file( $comp_file, "%% has 'd';\nd * 2 = <% \$.d * 2 %>" ); -my $output = `bin/mason $comp_file --data-dir $tempdir/data --args '{"d":"4"}'`; +my $output = `$^X bin/mason $comp_file --data-dir $tempdir/data --args '{"d":"4"}'`; is( $output, "d * 2 = 8\n", 'correct output' ); ok( -f "$tempdir/data/obj/hello.m.mobj", "object file exists" ); -- 1.7.2.3.11.ge2214
Fixed, thanks


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.