- Timestamp:
- Nov 28, 2017, 10:16:35 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/test/mkgpc1.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/mkgpc1.sh
r39021 r40218 28 28 # create a database with completely minimal tables needed to test 29 29 mysql -h $dbhost -u $dbuser $dbpass -e "CREATE DATABASE $dbname" 30 if ($status) then 31 echo "ERROR: failed to create mysql database $dbname ($0)" 32 echo " NOTE: before running this test, you must have a mysql user:" 33 echo " mkgpc1.sh user localhost dvo dvo (requires root password)" 34 exit 1 35 endif 30 36 mysql -h $dbhost -u $dbuser $dbpass $dbname < gpc1schema.sql 31 37 exit 0; … … 45 51 (mysql -B -h $dbhost -u $dbuser $dbpass -e "show databases" | grep ^$dbname\$) >& /dev/null 46 52 if ($status) then 47 echo " database $dbname does not yet exist"53 echo "INFO: database $dbname does not yet exist ($0)" 48 54 exit 0 49 55 endif
Note:
See TracChangeset
for help on using the changeset viewer.
