Test scripts adapted to new directory structure.
[gnucomo.git] / test / t0005.sh
index 97eee81..2fb7d09 100644 (file)
@@ -7,13 +7,13 @@
 
 cd ..
 
-if psql gnucomo_test -f src/create.sql
+if psql gnucomo_test -f src/database/create.sql
 then
    psql gnucomo_test -q -c "insert into object (objectname) values ('kithira.andromeda.nl')"
    psql gnucomo_test -c "select * from object"
-   src/gcm_input -c gnucomo_test -h kithira.andromeda.nl -d 'sep 5 2002' <test/messages
+   src/gcm_input/gcm_input -c gnucomo_test -h kithira.andromeda.nl -d 'sep 5 2002' <test/messages
    psql gnucomo_test -c "select * from log"
-   psql gnucomo_test -f src/destroy.sql
+   psql gnucomo_test -f src/database/destroy.sql
    exit $result
 else
    echo Can not create test database