aboutsummaryrefslogtreecommitdiff
path: root/test/incrblob.test
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-09-11 11:27:59 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-09-11 11:27:59 +0000
commit540cf6a1927f7b5db0a7d3eac6e544563e3e849c (patch)
tree82cdefb4392ba612666e6c74cc91fc977d474472 /test/incrblob.test
parent55a25a1201e1ea491eefffcb9da92b5afea35cdb (diff)
downloadsqlite-540cf6a1927f7b5db0a7d3eac6e544563e3e849c.tar.gz
sqlite-540cf6a1927f7b5db0a7d3eac6e544563e3e849c.zip
Add a couple of (fconfigure) commands to configure the incremental blob channels used by test file incrblob.test. This is required so that the tests work on windows and other platforms that have a default -translation mode other than 'lf'. (CVS 5692)
FossilOrigin-Name: 753caa20ca50bc42d747d934ccc61438790e7f32
Diffstat (limited to 'test/incrblob.test')
-rw-r--r--test/incrblob.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/incrblob.test b/test/incrblob.test
index cb64eeaf2..aa9582d92 100644
--- a/test/incrblob.test
+++ b/test/incrblob.test
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
-# $Id: incrblob.test,v 1.20 2008/04/24 09:49:55 danielk1977 Exp $
+# $Id: incrblob.test,v 1.21 2008/09/11 11:28:00 danielk1977 Exp $
#
set testdir [file dirname $argv0]
@@ -566,6 +566,7 @@ do_test incrblob-7.2.1 {
INSERT INTO t1 VALUES(123, $::data);
}
set ::b [db incrblob -readonly t1 b 123]
+ fconfigure $::b -translation binary
read $::b
} $::data
do_test incrblob-7.2.2 {
@@ -588,6 +589,7 @@ do_test incrblob-7.3.1 {
INSERT INTO t2 VALUES(456, $::otherdata);
}
set ::b [db incrblob -readonly t2 b 456]
+ fconfigure $::b -translation binary
read $::b
} $::otherdata
do_test incrblob-7.3.2 {