Changeset 38963 for trunk/ippToPsps/test/fulltest.sh
- Timestamp:
- Oct 26, 2015, 5:17:19 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/test/fulltest.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/fulltest.sh
r38949 r38963 1 1 #!/bin/csh -f 2 3 set dbuser = czw 4 set dbpass = -pczw 2 5 3 6 chmod +x mkgpc1data.dvo mkgpc1.sh … … 190 193 # does the database already exist? 191 194 # XXX this command will blow away an existing database!! 192 mysql -h localhost -u dvo -pdvo-e "create database if not exists ipptopsps_test" || exit 3193 mysql -h localhost -u dvo -pdvoipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql || exit 3195 mysql -h localhost -u $dbuser $dbpass -e "create database if not exists ipptopsps_test" || exit 3 196 mysql -h localhost -u $dbuser $dbpass ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql || exit 3 194 197 echo " ---- init ipptopsps_test: done ----" 195 198 endif … … 201 204 202 205 # create the database (ignore failure if it already exists) 203 mysql -h localhost -u dvo -pdvo-e "drop database if exists ipptopsps_test_scratch"204 mysql -h localhost -u dvo -pdvo-e "create database ipptopsps_test_scratch"206 mysql -h localhost -u $dbuser $dbpass -e "drop database if exists ipptopsps_test_scratch" 207 mysql -h localhost -u $dbuser $dbpass -e "create database ipptopsps_test_scratch" 205 208 ippjython setupScratchDb.py -test < /dev/null 206 209 if ($status) exit
Note:
See TracChangeset
for help on using the changeset viewer.
