From 734b5d15720f2af99bb2d87311efac6ad24d1b06 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Tue, 8 Jan 2008 07:57:22 +0000 Subject: [PATCH] return correct value --- test/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test.sh b/test/test.sh index 64443c6..d6ac7ed 100755 --- a/test/test.sh +++ b/test/test.sh @@ -15,7 +15,7 @@ BOUNCER_LOG=test.log BOUNCER_INI=test.ini BOUNCER_PID=test.pid BOUNCER_PORT=`sed -n '/^listen_port/s/listen_port.*=[^0-9]*//p' $BOUNCER_INI` -BOUNCER_EXE=./pgbouncer +BOUNCER_EXE="./pgbouncer" LOGDIR=log NC_PORT=6668 @@ -184,9 +184,10 @@ test_server_connect_timeout_establish() { psql -c "select now()" p2 # client will always see query_timeout, need to grep for connect timeout grep "closing because: connect timeout" $BOUNCER_LOG + rc=$? # didnt seem to die otherwise killall nc - return $? + return $rc } # server_connect_timeout - block with iptables -- 2.40.0