Changeset 38823 for trunk/ippToPsps/test/fulltest.sh
- Timestamp:
- Oct 8, 2015, 2:07:30 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/test/fulltest.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/fulltest.sh
r37246 r38823 156 156 # does the database already exist? 157 157 # XXX this command will blow away an existing database!! 158 mysql -h localhost -u dvo -pdvo -e "create database i pptopsps_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 160 160 endif 161 161 … … 166 166 167 167 # create the database (ignore failure if it already exists) 168 mysql -h localhost -u dvo -pdvo -e "drop database i pptopsps_test_scratch"168 mysql -h localhost -u dvo -pdvo -e "drop database if exists ipptopsps_test_scratch" 169 169 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test_scratch" 170 170 ippjython setupScratchDb.py -test < /dev/null
Note:
See TracChangeset
for help on using the changeset viewer.
