Changeset 38963 for trunk/ippToPsps/test/sastest.sh
- Timestamp:
- Oct 26, 2015, 5:17:19 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/test/sastest.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/sastest.sh
r37246 r38963 1 1 #!/bin/csh -f 2 3 set dbuser = czw 4 set dbpass = -pczw 2 5 3 6 chmod +x mksasdata.dvo mkgpc1.sh … … 157 160 # does the database already exist? 158 161 # XXX this command will blow away an existing database!! 159 mysql -h localhost -u dvo -pdvo-e "create database ipptopsps_test"160 mysql -h localhost -u dvo -pdvoipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql162 mysql -h localhost -u $dbuser $dbpass -e "create database ipptopsps_test" 163 mysql -h localhost -u $dbuser $dbpass ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql 161 164 endif 162 165 … … 165 168 166 169 # create the database (ignore failure if it already exists) 167 mysql -h localhost -u dvo -pdvo-e "drop database ipptopsps_scratch"168 mysql -h localhost -u dvo -pdvo-e "create database ipptopsps_scratch"170 mysql -h localhost -u $dbuser $dbpass -e "drop database ipptopsps_scratch" 171 mysql -h localhost -u $dbuser $dbpass -e "create database ipptopsps_scratch" 169 172 ippjython setupScratchDb.py -test < /dev/null 170 173 if ($status) exit
Note:
See TracChangeset
for help on using the changeset viewer.
