Test scripts adapted to new directory structure.
authorarjen <arjen>
Mon, 20 Jan 2003 07:27:58 +0000 (07:27 +0000)
committerarjen <arjen>
Mon, 20 Jan 2003 07:27:58 +0000 (07:27 +0000)
test/t0001.sh
test/t0002a.sh
test/t0003.sh
test/t0004.sh
test/t0005.sh

index 74cc218..967745f 100644 (file)
@@ -4,11 +4,11 @@
 
 cd ..
 
-if psql gnucomo_test -f src/create.sql
+if psql gnucomo_test -f src/database/create.sql
 then
    psql gnucomo_test -c 'select statuscode from status'
    result=$?
-   psql gnucomo_test -f src/destroy.sql
+   psql gnucomo_test -f src/database/destroy.sql
    exit $result
 else
    echo Can not create test database
index fc5cef1..81c4b62 100644 (file)
@@ -8,13 +8,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 20:30:45' <test/messages
+   src/gcm_input/gcm_input -c gnucomo_test -h kithira.andromeda.nl -d 'sep 5 2002 20:30:45' <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
index 957a536..8b0612e 100644 (file)
@@ -8,13 +8,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 ('vd.wt.tno.nl')"
    psql gnucomo_test -c "select * from object"
-   src/gcm_input -c gnucomo_test -h vd.wt.tno.nl -d 'sep 5 2002 20:30:45' <test/vd.messages
+   src/gcm_input/gcm_input -c gnucomo_test -h vd.wt.tno.nl -d 'sep 5 2002 20:30:45' <test/vd.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
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
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