Test scripts adapted to new directory structure.
[gnucomo.git] / test / t0004.sh
index adbd0c6..2e91fc7 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  <test/messages
+   src/gcm_input/gcm_input -c gnucomo_test  <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