Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Meta-YAML CPAN distribution.

Report information
The Basics
Id: 93297
Status: resolved
Priority: 0/
Queue: CPAN-Meta-YAML

People
Owner: Nobody in particular
Requestors: craigberry [...] mac.com
Cc:
AdminCc:

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



Subject: [PATCH] test fix-up for directories in 31_local_tml.t
Date: Sun, 23 Feb 2014 18:31:43 -0600
To: bug-CPAN-Meta-YAML [...] rt.cpan.org
From: "Craig A. Berry" <craigberry [...] mac.com>
Directories on VMS have a .DIR extension. This test appears to be constructing method names from directory names, so we need to trim off the extension like so: --- t/31_local_tml.t;-0 2014-02-14 04:57:08 -0600 +++ t/31_local_tml.t 2014-02-17 22:50:42 -0600 @@ -12,6 +12,7 @@ for my $dir ( IO::Dir->new($tml_local)-> next if $dir =~ /^\./; my $fn = "test_$dir"; $fn =~ s/-/_/g; + $fn =~ s/\.DIR\z//i if $^O eq 'VMS'; my $bridge = TestBridge->can($fn); next unless $bridge; run_all_testml_files( "TestML", catdir($tml_local, $dir), $bridge ); [end] That gets the test passing on VMS. Show quoted text
________________________________________ Craig A. Berry mailto:craigberry@mac.com "... getting out of a sonnet is much more difficult than getting in." Brad Leithauser
The patch has been applied upstream to YAML::Tiny and released as version 1.61.
Patched upstream, cloned, and shipped to CPAN.