Chris Browne cbbrowne at lists.slony.info
Wed Jun 6 15:21:16 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/tests
In directory main.slony.info:/tmp/cvs-serv5878

Modified Files:
      Tag: REL_1_2_STABLE
	support_funcs.sh 
Log Message:
Add usage of random_string C program to support_funcs.sh


Index: support_funcs.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/support_funcs.sh,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -C2 -d -r1.4.2.1 -r1.4.2.2
*** support_funcs.sh	6 Jun 2007 22:18:22 -0000	1.4.2.1
--- support_funcs.sh	6 Jun 2007 22:21:14 -0000	1.4.2.2
***************
*** 127,130 ****
--- 127,133 ----
  
    _length=$1
+   if [ -e ./random_string ] ; then
+     rannum=`./random_string ${_length}`
+   else
    case `uname` in
    *BSD|Darwin)
***************
*** 155,159 ****
    ;;
    esac
! 
    echo ${ranstring}
  }
--- 158,162 ----
    ;;
    esac
!   fi
    echo ${ranstring}
  }



More information about the Slony1-commit mailing list