Chris Browne cbbrowne at lists.slony.info
Wed Jun 13 08:58:34 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/tests
In directory main.slony.info:/tmp/cvs-serv10276/tests

Modified Files:
      Tag: REL_1_2_STABLE
	support_funcs.sh 
Log Message:
Use C binaries if they are executable, not merely if they seem to exist


Index: support_funcs.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/support_funcs.sh,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -C2 -d -r1.4.2.2 -r1.4.2.3
*** support_funcs.sh	6 Jun 2007 22:21:14 -0000	1.4.2.2
--- support_funcs.sh	13 Jun 2007 15:58:32 -0000	1.4.2.3
***************
*** 88,92 ****
    _upperbound=$2
  
!   if [ -e ./random_number ] ; then
      rannum=`./random_number ${_lowerbound} ${_upperbound}`
    else
--- 88,92 ----
    _upperbound=$2
  
!   if [ -x ./random_number ] ; then
      rannum=`./random_number ${_lowerbound} ${_upperbound}`
    else
***************
*** 127,131 ****
  
    _length=$1
!   if [ -e ./random_string ] ; then
      rannum=`./random_string ${_length}`
    else
--- 127,131 ----
  
    _length=$1
!   if [ -x ./random_string ] ; then
      rannum=`./random_string ${_length}`
    else



More information about the Slony1-commit mailing list