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