Subject: | In examplep.t, if OS is VMS then case insensitive match is required. |
DBIx-SQKEngine 0.028
When running the test case example.t on the VMS OS, 2 test cases fail due to case sensitivity on filenames.
The line:
ok( grep { $_->{name} =~ /SQLEngine/ } @$rows );
occurs in 2 places in the file, the change I made to get the test cases to pass on VMS is below:
# case insensitive match if on VMS OS
if ($^O eq 'VMS') {
ok( grep { $_->{name} =~ /SQLEngine/i } @$rows );
} else {
ok( grep { $_->{name} =~ /SQLEngine/ } @$rows );
}
Thank you.
Peter (Stig) Edwards