Subject: | utf8.t - skip all tests for SQL Server |
It doesn't seem the UTF-8 support is working with SQL Server. I propose to skip all the tests (same as for Sybase 15-).
--- t\utf8#1.t 2014-02-14 19:31:55.000000000 +-0100
+++ t\utf8.t 2014-02-14 19:30:33.000000000 +-0100
@@ -31,13 +31,14 @@
"dbi:Sybase:server=$Srv;database=$Db;charset=utf8", $Uid, $Pwd,
{ PrintError => 1 }
);
$dbh->{syb_enable_utf8} = 1;
-unless ( $dbh->{syb_server_version} ge '15' && $dbh->{syb_enable_utf8}) {
+unless ( $dbh->{syb_server_version} ne 'Unknown' && $dbh->{syb_server_version} ge '15'
+ && $dbh->{syb_enable_utf8}) {
plan skip_all => 'This test requires ASE 15 or later, and OpenClient 15.x or later';
}
plan tests => 11;
$dbh->do("create table #utf8test (uv univarchar(510), ut unitext)");