Removed line numbers from the SQL scripts output.
[gnucomo.git] / test / t0001.sh
1 #!/bin/sh
2
3 # First test. Create and destroy the database.
4
5 cd ..
6
7 if psql gnucomo_test -q <src/database/create.sql >/dev/null
8 then
9    psql gnucomo_test -c 'select statuscode from status'
10    result=$?
11    psql gnucomo_test -f src/database/destroy.sql -q
12    exit $result
13 else
14    echo Can not create test database
15    exit 1
16 fi