Reduced the amount of output from test scripts.
authorarjen <arjen>
Wed, 3 Sep 2003 12:57:24 +0000 (12:57 +0000)
committerarjen <arjen>
Wed, 3 Sep 2003 12:57:24 +0000 (12:57 +0000)
test/t0001.sh
test/t0002a.sh
test/t0003.sh
test/t0004.sh
test/t0005.sh

index 967745f..c9d42af 100644 (file)
@@ -4,11 +4,11 @@
 
 cd ..
 
-if psql gnucomo_test -f src/database/create.sql
+if psql gnucomo_test -f src/database/create.sql -q >/dev/null
 then
    psql gnucomo_test -c 'select statuscode from status'
    result=$?
-   psql gnucomo_test -f src/database/destroy.sql
+   psql gnucomo_test -f src/database/destroy.sql -q
    exit $result
 else
    echo Can not create test database
index 81c4b62..29c3c7f 100644 (file)
@@ -8,13 +8,13 @@
 
 cd ..
 
-if psql gnucomo_test -f src/database/create.sql
+if psql gnucomo_test -f src/database/create.sql -q >/dev/null
 then
    psql gnucomo_test -q -c "insert into object (objectname) values ('kithira.andromeda.nl')"
    psql gnucomo_test -c "select * from object"
    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/database/destroy.sql
+   psql gnucomo_test -f src/database/destroy.sql -q
    exit $result
 else
    echo Can not create test database
index 8b0612e..321c57b 100644 (file)
@@ -8,13 +8,13 @@
 
 cd ..
 
-if psql gnucomo_test -f src/database/create.sql
+if psql gnucomo_test -f src/database/create.sql -q >/dev/null
 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/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/database/destroy.sql
+   psql gnucomo_test -f src/database/destroy.sql -q
    exit $result
 else
    echo Can not create test database
index 2e91fc7..4f4e1ca 100644 (file)
@@ -7,13 +7,13 @@
 
 cd ..
 
-if psql gnucomo_test -f src/database/create.sql
+if psql gnucomo_test -f src/database/create.sql -q >/dev/null
 then
    psql gnucomo_test -q -c "insert into object (objectname) values ('kithira.andromeda.nl')"
    psql gnucomo_test -c "select * from object"
    src/gcm_input/gcm_input -c gnucomo_test  <test/messages
    psql gnucomo_test -c "select * from log"
-   psql gnucomo_test -f src/database/destroy.sql
+   psql gnucomo_test -f src/database/destroy.sql -q
    exit $result
 else
    echo Can not create test database
index 2fb7d09..da7aa3f 100644 (file)
@@ -7,13 +7,13 @@
 
 cd ..
 
-if psql gnucomo_test -f src/database/create.sql
+if psql gnucomo_test -f src/database/create.sql -q >/dev/null
 then
    psql gnucomo_test -q -c "insert into object (objectname) values ('kithira.andromeda.nl')"
    psql gnucomo_test -c "select * from object"
    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/database/destroy.sql
+   psql gnucomo_test -f src/database/destroy.sql -q
    exit $result
 else
    echo Can not create test database