1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

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
This commit is contained in:
danielk1977
2008-09-11 11:27:59 +00:00
parent 55a25a1201
commit 540cf6a192
3 changed files with 10 additions and 8 deletions

View File

@ -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 {