Showing 8 changed files with 71 additions and 18 deletions
+17 -16
MANIFEST.SKIP
... ...
@@ -1,16 +1,17 @@
1
-\bRCS\b
2
-\bCVS\b
3
-^MANIFEST\.
4
-^Makefile$
5
-^Build$
6
-^Build.bat$
7
-^_build/
8
-\.(bak|tdy|old|tmp)$
9
-~$
10
-^blib/
11
-^pm_to_blib
12
-\.cvsignore
13
-\.gz$
14
-^\.git
15
-^cover_db/
16
-\.db$
1
+\bRCS\b
2
+\bCVS\b
3
+^MANIFEST\.
4
+^Makefile$
5
+^Build$
6
+^Build.bat$
7
+^_build/
8
+\.(bak|tdy|old|tmp)$
9
+~$
10
+^blib/
11
+^pm_to_blib
12
+\.cvsignore
13
+\.gz$
14
+^\.git
15
+^cover_db/
16
+\.db$
17
+\.run$
+1 -1
t/common-mysql.t
... ...
@@ -3,7 +3,7 @@ use warnings;
3 3
 
4 4
 use FindBin;
5 5
 $ENV{DBIX_CUSTOM_TEST_RUN} = 1
6
-  if -f "$FindBin::Bin/run/common-mysql.tmp";
6
+  if -f "$FindBin::Bin/run/common-mysql.run";
7 7
 $ENV{DBIX_CUSTOM_SKIP_MESSAGE} = 'mysql private test';
8 8
 
9 9
 use DBIx::Custom;
+1 -1
t/common-postgresql.t
... ...
@@ -3,7 +3,7 @@ use warnings;
3 3
 
4 4
 use FindBin;
5 5
 $ENV{DBIX_CUSTOM_TEST_RUN} = 1
6
-  if -f "$FindBin::Bin/run/common-postgresql.tmp";
6
+  if -f "$FindBin::Bin/run/common-postgresql.run";
7 7
 $ENV{DBIX_CUSTOM_SKIP_MESSAGE} = 'postgresql private test';
8 8
 
9 9
 use DBIx::Custom;
+5
t/run/common-db2.run
... ...
@@ -0,0 +1,5 @@
1
+### DB2 Install
2
+
3
+cd /usr/local/src
4
+
5
+curl -L https://www6.software.ibm.com/sdfdl/v2/regs2/db2pmopn/db2_v97/expc/Xa.2/Xb.aA_60_-iVlRRTUNBO90Dq4FHTisv_wdecoCQFeRQbw/Xc.db2exc_974_LNX_x86.tar.gz/Xd./Xf.LPr.D1vk/Xg.6107654/Xi.swg-db2expressc/XY.regsrvs/XZ.2ygJIAbTC5bn3tv2hlm2PnXUcz8/db2exc_974_LNX_x86.tar.gz > db2exc_974_LNX_x86.tar.gz
+5
t/run/common-mysql.run
... ...
@@ -0,0 +1,5 @@
1
+# Create database
2
+create database dbix_custom;
3
+
4
+# Create User
5
+GRANT ALL PRIVILEGES ON dbix_custom.* TO dbix_custom@"localhost" IDENTIFIED BY 'dbix_custom';
+35
t/run/common-postgresql.run
... ...
@@ -0,0 +1,35 @@
1
+### CentOS5
2
+
3
+# Install
4
+yum -y install postgresql-server
5
+yum -y install postgresql
6
+yum -y install postgresql-devel
7
+chkconfig --level 2345 postgresql on
8
+
9
+# Start server
10
+service postgresql start
11
+
12
+# Change config file
13
+vi /var/lib/pgsql/data/pg_hba.conf
14
+  # "local" is for Unix domain socket connections only
15
+  local   all         all                               trust
16
+
17
+# Create user and database
18
+su - postgres
19
+createuser -a -d -U postgres -P dbix_custom
20
+  # Shall the new role be a superuser? (y/n) -> y
21
+  # Shall the new role be allowed to create databases? (y/n) -> y
22
+  # Shall the new role be allowed to create more new roles? (y/n) -> y
23
+
24
+createdb dbix_custom -U dbix_custom
25
+
26
+# Connect to database
27
+psql -U dbix_custom dbix_custom
28
+
29
+# Install DBD::pg
30
+cpanm DBD::Pg
31
+
32
+### Memo
33
+
34
+# Drop user
35
+dropuser dbix_custom
+7
t/run/common-sqlserver.run
... ...
@@ -0,0 +1,7 @@
1
+# Site
2
+http://awoni.net/fc/sql-server-2008-express/
3
+
4
+
5
+# Install
6
+http://www.microsoft.com/downloads/ja-jp/details.aspx?displaylang=ja&FamilyID=967225eb-207b-4950-91df-eeb5f35a80ee
7
+http://www.microsoft.com/downloads/ja-jp/details.aspx?familyid=E08766CE-FC9D-448F-9E98-FE84AD61F135&displaylang=ja
t/run/mysql.run
No changes.