Wed Sep 28 02:14:24 PDT 2005
- Previous message: [Slony1-commit] By cbbrowne: Per Ian Burrell...
- Next message: [Slony1-commit] By cbbrowne: Changes to handling of log shipping: 1.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Fix typos in test script for UTF8/multibyte data
Tags:
----
REL_1_1_STABLE
Modified Files:
--------------
slony1-engine/src/ducttape:
test_F_utf8 (r1.1.2.1 -> r1.1.2.2)
-------------- next part --------------
Index: test_F_utf8
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/ducttape/test_F_utf8,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -Lsrc/ducttape/test_F_utf8 -Lsrc/ducttape/test_F_utf8 -u -w -r1.1.2.1 -r1.1.2.2
--- src/ducttape/test_F_utf8
+++ src/ducttape/test_F_utf8
@@ -63,7 +63,7 @@
echo "failed"; cat $TMPOUT; rm $TMPOUT; exit 1
fi
echo "done"
-rm $TMPOUT
+rm -f $TMPOUT
PREAMBLE_FILE=/tmp/preamble.$$
cat <<EOF > $PREAMBLE_FILE
@@ -88,7 +88,7 @@
#####
echo "**** creating database for Node 11"
-createdb $DB1 --encoding UNICODE || exit 1
+createdb $DB1 --encoding=UNICODE || exit 1
psql $DB1 <<_EOF_
create table foo (id integer not null unique default nextval('foo_id'),
string text,
@@ -133,9 +133,10 @@
echo "**** creating a replication set containing the various dangerously named tables ... "
slonik <<_EOF_
include <$PREAMBLE_FILE>;
+
try {
create set (id = 1, origin = @origin, comment = 'Set 1 - UNICODE tables');
- set add table (set id 1, origin = @origin,
+ set add table (set id = 1, origin = @origin,
id = 1, fully qualified name = 'public.foo',
comment = 'Unicode Table');
set add sequence (set id = 1, origin = @origin,
@@ -165,7 +166,7 @@
# set
######################################################################
echo "**** creating database for node 22"
-if ! createdb $DB2 --encoding UNICODE ; then
+if ! createdb $DB2 --encoding=UNICODE ; then
kill $slon1_pid 2>/dev/null
exit 1
fi
- Previous message: [Slony1-commit] By cbbrowne: Per Ian Burrell...
- Next message: [Slony1-commit] By cbbrowne: Changes to handling of log shipping: 1.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list