blob: 85827effa134c3d4f73cd3f290d10082b92dab79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-ab,v 1.1 2008/01/14 18:58:03 adam Exp $
--- tests/run_test.sh.orig 2008-01-13 22:38:16.000000000 +0100
+++ tests/run_test.sh
@@ -179,7 +179,7 @@ store_node()
if [ -n "${db}" -a "${host}" -a "${user}" -a "${port}" ]; then
if [ ${alias} -ne ${originnode} ]; then
- if [ "x${logship}" == "xtrue" ]; then # Don't bother generating nodes used for log shipping
+ if [ "x${logship}" = "xtrue" ]; then # Don't bother generating nodes used for log shipping
status "Node ${alias} is a log shipping node - no need for STORE NODE"
else
echo "STORE NODE (id=${alias}, comment='node ${alias}');" >> $mktmp/slonik.script
@@ -219,7 +219,7 @@ store_path()
eval bport=\$PORT${j}
eval blogship=\$LOGSHIP${j}
if [ -n "${bdb}" -a "${bhost}" -a "${buser}" -a "${bport}" ]; then
- if [[ "x${logship}" == "xtrue" || "x${blogship}" == "xtrue" ]]; then
+ if [[ "x${logship}" = "xtrue" || "x${blogship}" = "xtrue" ]]; then
# log shipping node - no paths need exist that involve this node
status "log shipping between nodes(${i}/${j}) - ls(${logship}/${blogship}) - omit STORE PATH"
else
@@ -499,7 +499,7 @@ launch_slon()
fi
conninfo="dbname=${db} host=${host} user=${user} port=${port}"
- if [ "x${logship}" == "xtrue" ]; then
+ if [ "x${logship}" = "xtrue" ]; then
status "do not launch slon for node ${alias} - it receives data via log shipping"
else
status "launching: $pgbindir/slon -s500 -g10 -d2 ${archiveparm} $cluster \"$conninfo\""
|