Make sure the host machine has enough disk space before running the

large file tests. (CVS 800)

FossilOrigin-Name: b1ec547865a76541951433630bd4528d1988a4de
This commit is contained in:
drh 2002-12-17 14:13:48 +00:00
parent e7e8bc7739
commit f33cb428e5
3 changed files with 35 additions and 14 deletions

View File

@ -1,5 +1,5 @@
C Take\scare\snot\sto\smodify\sthe\ssqlite*\spointer\sto\ssqlite_exec()\sif\swe\ssuspect\nthat\sthe\spointer\sis\sstale\s-\sthat\sit\shas\spreviously\sbeen\spassed\sto\nsqlite_close().\s\sPossible\sfix\sfor\sticket\s#202.\s\sPrior\sto\sthis\sfix,\stest\nmisuse-5.3\swas\scausing\sa\schange\sto\sa\sbuffer\sthat\shad\sbeen\spreviously\sfree()-ed.\s(CVS\s799)
D 2002-12-17T13:05:26
C Make\ssure\sthe\shost\smachine\shas\senough\sdisk\sspace\sbefore\srunning\sthe\nlarge\sfile\stests.\s(CVS\s800)
D 2002-12-17T14:13:49
F Makefile.in 868c17a1ae1c07603d491274cc8f86c04acf2a1e
F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906
F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
@ -56,7 +56,7 @@ F src/vdbe.c aa6165ae4f2303795e4c5531293576c541363e40
F src/vdbe.h b7584044223104ba7896a7f87b66daebdd6022ba
F src/where.c af235636b7bc7f7f42ee1c7162d1958ad0102cab
F test/all.test 873d30e25a41b3aa48fec5633a7ec1816e107029
F test/bigfile.test 38d1071817caceb636c613e3546082b90e749a49
F test/bigfile.test 1cd8256d4619c39bea48147d344f348823e78678
F test/bigrow.test 8ab252dba108f12ad64e337b0f2ff31a807ac578
F test/btree.test 10e75aec120ecefc0edc4c912a0980a43db1b6c2
F test/btree2.test e3b81ec33dc2f89b3e6087436dfe605b870c9080
@ -152,7 +152,7 @@ F www/speed.tcl a20a792738475b68756ea7a19321600f23d1d803
F www/sqlite.tcl ae3dcfb077e53833b59d4fcc94d8a12c50a44098
F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331
F www/vdbe.tcl 2013852c27a02a091d39a766bc87cff329f21218
P 1c58b4fc032c5975dcce9b8ae844c0e516254a17
R 915a4210a181a076d8ac7e4e83a94eed
P f04547edfa1643ce52925d317915badfc676bd8b
R c9be58291f5dab2cb8e7f3e84b5d8006
U drh
Z eb21639b26597fa970a75e60b827244e
Z 32f22a385f20425fc7ff8f101f10b6d6

View File

@ -1 +1 @@
f04547edfa1643ce52925d317915badfc676bd8b
b1ec547865a76541951433630bd4528d1988a4de

View File

@ -12,7 +12,7 @@
# focus of this script testing the ability of SQLite to handle database
# files larger than 4GB.
#
# $Id: bigfile.test,v 1.1 2002/12/01 02:00:58 drh Exp $
# $Id: bigfile.test,v 1.2 2002/12/17 14:13:49 drh Exp $
#
set testdir [file dirname $argv0]
@ -43,9 +43,18 @@ do_test bigfile-1.1 {
}
} $::MAGIC_SUM
# Try to create a large file - a file that is larger than 2^32 bytes.
# If this fails, it means that the system being tested does not support
# large files. So skip all of the remaining tests in this file.
#
db close
if {[catch {fake_big_file 4096 test.db}]} {
puts "**** Unable to create a file larger than 4096 MB. *****"
finish_test
return
}
do_test bigfile-1.2 {
db close
fake_big_file 4096 test.db
sqlite db test.db
execsql {
SELECT md5sum(x) FROM t1;
@ -77,9 +86,15 @@ do_test bigfile-1.5 {
SELECT md5sum(x) FROM t2;
}
} $::MAGIC_SUM
db close
if {[catch {fake_big_file 8192 test.db}]} {
puts "**** Unable to create a file larger than 8192 MB. *****"
finish_test
return
}
do_test bigfile-1.6 {
db close
fake_big_file 8192 test.db
sqlite db test.db
execsql {
SELECT md5sum(x) FROM t1;
@ -108,9 +123,15 @@ do_test bigfile-1.10 {
SELECT md5sum(x) FROM t3;
}
} $::MAGIC_SUM
db close
if {[catch {fake_big_file 16384 test.db}]} {
puts "**** Unable to create a file larger than 16384 MB. *****"
finish_test
return
}
do_test bigfile-1.11 {
db close
fake_big_file 16384 test.db
sqlite db test.db
execsql {
SELECT md5sum(x) FROM t1;