[otrs-cvs] UnitTest/bin UnitTestAutoSetup.pl,1.21,1.22

CVS commits notifications of OTRS.org cvs-log at otrs.org
Tue Apr 29 10:43:32 GMT 2008


Comments:
Update of /home/cvs/UnitTest/bin
In directory lancelot:/tmp/cvs-serv27447/UnitTest/bin

Modified Files:
	UnitTestAutoSetup.pl 
Log Message:
Added foreign keys / otrs-schema-post.*.sql support.

Author: martin

Index: UnitTestAutoSetup.pl
===================================================================
RCS file: /home/cvs/UnitTest/bin/UnitTestAutoSetup.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** UnitTestAutoSetup.pl	15 Apr 2008 08:03:01 -0000	1.21
--- UnitTestAutoSetup.pl	29 Apr 2008 10:43:27 -0000	1.22
***************
*** 2,6 ****
  # --
  # bin/UnitTestAutoSetup.pl - auto setup for unit test hosts
! # Copyright (C) 2003-2008 OTRS AG, http://otrs.com/
  # --
  # $Id$
--- 2,6 ----
  # --
  # bin/UnitTestAutoSetup.pl - auto setup for unit test hosts
! # Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
  # --
  # $Id$
***************
*** 457,460 ****
--- 457,463 ----
                  system( "su - oracle -s /bin/bash -c 'cat  /opt/otrs/scripts/database/otrs-initial_insert.oracle.sql | sqlplus \"otrs/oracle\"'");
  
+                 # apply foreign keys
+                 system( "su - oracle -s /bin/bash -c 'cat  /opt/otrs/scripts/database/otrs-schema-post.oracle.sql | sqlplus \"otrs/oracle\"'");
+ 
                  # configure system
                  ReConfigure(
***************
*** 515,518 ****
--- 518,524 ----
                  system("su - db2inst1 -s /bin/bash -c 'db2 \"connect to otrs\" && db2 -tf /opt/otrs/scripts/database/otrs-initial_insert.db2.sql'");
  
+                 # apply foreign keys
+                 system("su - db2inst1 -s /bin/bash -c 'db2 \"connect to otrs\" && db2 -tf /opt/otrs/scripts/database/otrs-schema-post.db2.sql'");
+ 
                  # configure system
                  ReConfigure(


More information about the cvs-log mailing list