Tue Mar 21 14:36:06 PST 2006
- Previous message: [Slony1-commit] By cbbrowne: Add in "-x" / log ship option to release notes for 1.2
- Next message: [Slony1-commit] By cbbrowne: The query that submits the DDL event needs to be handled
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Preliminary Darwin/MacOS-X support for test scripts
Per Seneca Cunningham
Generally, MacOS-X is "flavoured" like *BSD, particularly with respect
to parameters to ps
Modified Files:
--------------
slony1-engine/tests:
support_funcs.sh (r1.3 -> r1.4)
-------------- next part --------------
Index: support_funcs.sh
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tests/support_funcs.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -Ltests/support_funcs.sh -Ltests/support_funcs.sh -u -w -r1.3 -r1.4
--- tests/support_funcs.sh
+++ tests/support_funcs.sh
@@ -35,7 +35,7 @@
err 3 'USAGE: _check_pid procname pid ppid'
fi
case `uname` in
- FreeBSD)
+ *BSD|Darwin)
_psargs="-j"
_fp_args='_user _pid _ppid _pgid _sess _jobc _stat _tt _time _command'
;;
@@ -88,7 +88,7 @@
_upperbound=$2
case `uname` in
- FreeBSD)
+ *BSD|Darwin)
rannum=`jot -r 1 ${_lowerbound} ${_upperbound}`
;;
AIX|MINGW32*)
@@ -123,7 +123,7 @@
_length=$1
case `uname` in
- FreeBSD)
+ *BSD|Darwin)
ranstring=`jot -r -c ${_length} a Z | rs -g 0 ${_length}`
;;
Linux|AIX|MINGW32*)
@@ -162,7 +162,7 @@
_length=$1
case `uname` in
- FreeBSD)
+ *BSD|Darwin)
ranstring=`jot -r -c ${_length} a Z | rs -g 0 ${_length}`
;;
AIX|MINGW32*)
- Previous message: [Slony1-commit] By cbbrowne: Add in "-x" / log ship option to release notes for 1.2
- Next message: [Slony1-commit] By cbbrowne: The query that submits the DDL event needs to be handled
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list