IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 8, 2015, 2:07:30 PM (11 years ago)
Author:
eugene
Message:

removing duplicate jython.jar; only copy in jython2.5.3b1 is kept

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/test/fulltest.sh

    r37246 r38823  
    156156  # does the database already exist?
    157157  # XXX this command will blow away an existing database!!
    158   mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test"
    159   mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql
     158  mysql -h localhost -u dvo -pdvo -e "create database if not exists ipptopsps_test" || exit 3
     159  mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql || exit 2
    160160endif
    161161
     
    166166
    167167  # create the database (ignore failure if it already exists)
    168   mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_test_scratch"
     168  mysql -h localhost -u dvo -pdvo -e "drop database if exists ipptopsps_test_scratch"
    169169  mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test_scratch"
    170170  ippjython setupScratchDb.py -test < /dev/null
Note: See TracChangeset for help on using the changeset viewer.