projects
/
gnucomo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7ccb431c639d67059108b89aa888cca59c855a99
[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