From: Rafael Kitover Date: Fri, 3 Dec 2010 09:16:56 +0000 (-0500) Subject: rename sybase_asa tests and env vars to sqlanywhere X-Git-Tag: v0.08125~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=374f18f2c8a02a33c4c39d7decb12103463c4e46;p=dbsrgits%2FDBIx-Class.git rename sybase_asa tests and env vars to sqlanywhere --- diff --git a/t/749sybase_asa.t b/t/749sqlanywhere.t similarity index 95% rename from t/749sybase_asa.t rename to t/749sqlanywhere.t index 03c1182..9091c2d 100644 --- a/t/749sybase_asa.t +++ b/t/749sqlanywhere.t @@ -11,11 +11,11 @@ DBICTest::Schema->load_classes('ArtistGUID'); # tests stolen from 748informix.t -my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_SYBASE_ASA_${_}" } qw/DSN USER PASS/}; -my ($dsn2, $user2, $pass2) = @ENV{map { "DBICTEST_SYBASE_ASA_ODBC_${_}" } qw/DSN USER PASS/}; +my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_SQLANYWHERE_${_}" } qw/DSN USER PASS/}; +my ($dsn2, $user2, $pass2) = @ENV{map { "DBICTEST_SQLANYWHERE_ODBC_${_}" } qw/DSN USER PASS/}; plan skip_all => <<'EOF' unless $dsn || $dsn2; -Set $ENV{DBICTEST_SYBASE_ASA_DSN} and/or $ENV{DBICTEST_SYBASE_ASA_ODBC_DSN}, +Set $ENV{DBICTEST_SQLANYWHERE_DSN} and/or $ENV{DBICTEST_SQLANYWHERE_ODBC_DSN}, _USER and _PASS to run these tests EOF diff --git a/t/inflate/datetime_sybase_asa.t b/t/inflate/datetime_sqlanywhere.t similarity index 88% rename from t/inflate/datetime_sybase_asa.t rename to t/inflate/datetime_sqlanywhere.t index c05f229..b74e788 100644 --- a/t/inflate/datetime_sybase_asa.t +++ b/t/inflate/datetime_sqlanywhere.t @@ -7,12 +7,12 @@ use Scope::Guard (); use lib qw(t/lib); use DBICTest; -my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_SYBASE_ASA_${_}" } qw/DSN USER PASS/}; -my ($dsn2, $user2, $pass2) = @ENV{map { "DBICTEST_SYBASE_ASA_ODBC_${_}" } qw/DSN USER PASS/}; +my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_SQLANYWHERE_${_}" } qw/DSN USER PASS/}; +my ($dsn2, $user2, $pass2) = @ENV{map { "DBICTEST_SQLANYWHERE_ODBC_${_}" } qw/DSN USER PASS/}; if (not ($dsn || $dsn2)) { plan skip_all => <<'EOF'; -Set $ENV{DBICTEST_SYBASE_ASA_DSN} and/or $ENV{DBICTEST_SYBASE_ASA_ODBC_DSN} +Set $ENV{DBICTEST_SQLANYWHERE_DSN} and/or $ENV{DBICTEST_SQLANYWHERE_ODBC_DSN} _USER and _PASS to run this test'. Warning: This test drops and creates a table called 'track'"; EOF