From: arjen Date: Wed, 3 Sep 2003 12:57:24 +0000 (+0000) Subject: Reduced the amount of output from test scripts. X-Git-Tag: V0_0_8~6 X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=commitdiff_plain;h=26337b547d62f1edf751e8e025358dcdb178ee35 Reduced the amount of output from test scripts. --- diff --git a/test/t0001.sh b/test/t0001.sh index 967745f..c9d42af 100644 --- a/test/t0001.sh +++ b/test/t0001.sh @@ -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 diff --git a/test/t0002a.sh b/test/t0002a.sh index 81c4b62..29c3c7f 100644 --- a/test/t0002a.sh +++ b/test/t0002a.sh @@ -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' /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' /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 /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'