projects
/
gnucomo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
(1.0.D002) Create Database
[gnucomo.git]
/
test
/
t0002a.sh
1
#!/bin/sh
2
3
if psql gnucomo_test -f src/create.sql
4
then
5
psql gnucomo_test -c 'select statuscode from status'
6
result=$?
7
psql gnucomo_test -f src/destroy.sql
8
exit $result
9
else
10
echo Can not create test database
11
exit 1
12
fi