Subject: | [PATCH] new tests need to be case blind |
t/search12.t recently added some new tests which fail when filename case is not preserved.
This happens by default on VMS. It could happen on Windows or Mac OS X where the dominant
file systems do typically preserve case but don't enforce it, i.e., are not case sensitive.
The easiest safest thing to do is to just make the comparisons case blind, as in the attached
patch.
Subject: | search12_case.patch |
--- t/search12.t;-0 2011-10-04 12:55:40 -0500
+++ t/search12.t 2011-11-11 23:16:13 -0600
@@ -88,12 +88,12 @@ print $p;
{
my $names = join "|", sort values %$where2name;
-ok $names, "Suzzle";
+ok lc($names), lc("Suzzle");
}
{
my $names = join "|", sort keys %$name2where;
-ok $names, "Suzzle";
+ok lc($names), lc("Suzzle");
}
ok( ($name2where->{'Vliff'} || 'huh???'), 'huh???');