Chris Browne cbbrowne at lists.slony.info
Thu Mar 11 13:40:10 PST 2010
Update of /home/cvsd/slony1/slony1-engine/tests
In directory main.slony.info:/tmp/cvs-serv11986

Modified Files:
      Tag: REL_2_0_STABLE
	run_test.sh 
Log Message:
Improve error reporting to indicate DB conn info in case where failure is
due to bad conn info


Index: run_test.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/run_test.sh,v
retrieving revision 1.26.2.4
retrieving revision 1.26.2.5
diff -C 2 -d -r1.26.2.4 -r1.26.2.5
*** run_test.sh	21 Jul 2009 21:17:44 -0000	1.26.2.4
--- run_test.sh	11 Mar 2010 21:40:08 -0000	1.26.2.5
***************
*** 55,60 ****
--- 55,63 ----
  #load settings
  
+ echo "Loading default settings"
  . settings.ik
+ echo "Loading test-specific settings"
  . $testname/settings.ik
+ echo "Loading support functions"
  . support_funcs.sh
  
***************
*** 218,222 ****
  	    echo "STORE PATH (SERVER=@node${i}, CLIENT=@node${j}, CONNINFO='dbname=${db} host=${host} user=${buser} port=${port}');" >> $mktmp/slonik.script
            else
!             err 3 "No conninfo"
            fi
          fi
--- 221,225 ----
  	    echo "STORE PATH (SERVER=@node${i}, CLIENT=@node${j}, CONNINFO='dbname=${db} host=${host} user=${buser} port=${port}');" >> $mktmp/slonik.script
            else
!             err 3 "No conninfo - bdb=${bdb} bhost=${bhost} user=${buser} bport=${bport}"
            fi
          fi



More information about the Slony1-commit mailing list