Changeset 38964 for trunk/ippToPsps/test
- Timestamp:
- Oct 26, 2015, 5:24:35 PM (11 years ago)
- Location:
- trunk/ippToPsps/test
- Files:
-
- 6 edited
-
fulltest.sh (modified) (3 diffs)
-
mkgpc1.sh (modified) (1 diff)
-
mkgpc1data.dvo (modified) (2 diffs)
-
partest.sh (modified) (3 diffs)
-
sastest.sh (modified) (3 diffs)
-
widetest.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 -
trunk/ippToPsps/test/mkgpc1.sh
r38963 r38964 59 59 echo ntable: $ntable 60 60 if ($ntable != 25) then 61 if ($ntable != 21) then 62 echo "expected 25 lines (24 tables), but got $ntable, not deleting" 63 exit 2 64 endif 65 echo "Found old style 21 line (20 table) version of the database, so not blocking deletion." 61 echo "expected 25 lines (24 tables), but got $ntable, not deleting" 62 exit 2 66 63 endif 67 64 -
trunk/ippToPsps/test/mkgpc1data.dvo
r38963 r38964 3 3 input tap.dvo 4 4 5 opihi verbose on 6 if (not($?VERBOSE)) set VERBOSE = 1 5 if (not($?VERBOSE)) set VERBOSE = 0 7 6 if (not($?PARALLEL)) set PARALLEL = 0 8 7 … … 71 70 $dbhost = localhost 72 71 $dbname = gpc1test 73 $dbuser = czw74 $dbpass = czw72 $dbuser = dvo 73 $dbpass = dvo 75 74 76 75 $RA = 10.0 -
trunk/ippToPsps/test/partest.sh
r38963 r38964 1 1 #!/bin/csh -f 2 3 set dbuser = czw4 set dbpass = -pczw5 2 6 3 set stackqueuename = 0 … … 52 49 # does the database already exist? 53 50 # XXX this command will blow away an existing database!! 54 mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_test"55 mysql -h localhost -u $dbuser $dbpassipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql51 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test" 52 mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql 56 53 57 54 endif … … 91 88 92 89 # create the database (ignore failure if it already exists) 93 mysql -h localhost -u $dbuser $dbpass-e "drop database ipptopsps_test_scratch1"94 # mysql -h localhost -u $dbuser $dbpass-e "drop database ipptopsps_scratch2"95 # mysql -h localhost -u $dbuser $dbpass-e "drop database ipptopsps_scratch3"96 97 mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_test_scratch1"98 # mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_scratch2"99 # mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_scratch3"90 mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_test_scratch1" 91 # mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_scratch2" 92 # mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_scratch3" 93 94 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test_scratch1" 95 # mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_scratch2" 96 # mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_scratch3" 100 97 101 98 ippjython setupScratchDb.py -test dummy ipptopsps_test_scratch1 -
trunk/ippToPsps/test/sastest.sh
r38963 r38964 1 1 #!/bin/csh -f 2 3 set dbuser = czw4 set dbpass = -pczw5 2 6 3 chmod +x mksasdata.dvo mkgpc1.sh … … 160 157 # does the database already exist? 161 158 # XXX this command will blow away an existing database!! 162 mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_test"163 mysql -h localhost -u $dbuser $dbpassipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql159 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test" 160 mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql 164 161 endif 165 162 … … 168 165 169 166 # create the database (ignore failure if it already exists) 170 mysql -h localhost -u $dbuser $dbpass-e "drop database ipptopsps_scratch"171 mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_scratch"167 mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_scratch" 168 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_scratch" 172 169 ippjython setupScratchDb.py -test < /dev/null 173 170 if ($status) exit -
trunk/ippToPsps/test/widetest.sh
r38963 r38964 1 1 #!/bin/csh -f 2 3 set dbuser = czw4 set dbpass = -pczw5 2 6 3 set stackqueuename = 0 … … 51 48 # does the database already exist? 52 49 # XXX this command will blow away an existing database!! 53 mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_test"54 mysql -h localhost -u $dbuser $dbpassipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql50 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test" 51 mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql 55 52 56 53 endif … … 60 57 61 58 # create the database (ignore failure if it already exists) 62 mysql -h localhost -u $dbuser $dbpass-e "drop database ipptopsps_test_scratch"63 mysql -h localhost -u $dbuser $dbpass-e "create database ipptopsps_test_scratch"59 mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_test_scratch" 60 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test_scratch" 64 61 ippjython setupScratchDb.py -test 65 62 endif
Note:
See TracChangeset
for help on using the changeset viewer.
