Modify a failing test case in corruptC.test. The test case was failing only because the integrity_check was returning a slightly different error message than expected. (CVS 5891)
FossilOrigin-Name: 0953f300f8e8b2bed79ef3189a1cb29f058f388b
This commit is contained in:
parent
360e634ed4
commit
ab396298c4
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Fix\sa\sdatabase\scorruption\srelated\scrash\suncovered\sby\scorruptC.test.\s(CVS\s5890)
|
||||
D 2008-11-12T08:49:52
|
||||
C Modify\sa\sfailing\stest\scase\sin\scorruptC.test.\sThe\stest\scase\swas\sfailing\sonly\sbecause\sthe\sintegrity_check\swas\sreturning\sa\sslightly\sdifferent\serror\smessage\sthan\sexpected.\s(CVS\s5891)
|
||||
D 2008-11-12T11:57:42
|
||||
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
||||
F Makefile.in 48172b58e444a9725ec482e0c022a564749acab4
|
||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||
@ -265,7 +265,7 @@ F test/corrupt8.test 9992ef7f67cefc576b92373f6bf5ab8775280f51
|
||||
F test/corrupt9.test 794d284109c65c8f10a2b275479045e02d163bae
|
||||
F test/corruptA.test 99e95620b980161cb3e79f06a884a4bb8ae265ff
|
||||
F test/corruptB.test 505331779fe7a96fe38ecbb817f19c63bc27d171
|
||||
F test/corruptC.test 98785fda64661720f2c96a3afab91f1acf4831f5
|
||||
F test/corruptC.test 2211c09c5911ed43a4ac3ab87a9a1ddcdab89c9e
|
||||
F test/crash.test 1b6ac8410689ff78028887f445062dc897c9ac89
|
||||
F test/crash2.test 5b14d4eb58b880e231361d3b609b216acda86651
|
||||
F test/crash3.test 776f9363554c029fcce71d9e6600fa0ba6359ce7
|
||||
@ -656,7 +656,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
|
||||
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
||||
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
|
||||
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
||||
P b8ceaa00500f29bbbd0cc5aec71a6ffa91ae6b43
|
||||
R 80ca606753a89d9ef37cd7a26edcccc0
|
||||
P 395084acbb4c8ef878d858f640f1ed6be908d175
|
||||
R e22f3f9d115df1e3bf8c36534969814d
|
||||
U danielk1977
|
||||
Z ef9911c8f3e577fc9269a1bb0e2fb7a8
|
||||
Z 81eb7b5b6ef663546461e6f2f223a801
|
||||
|
@ -1 +1 @@
|
||||
395084acbb4c8ef878d858f640f1ed6be908d175
|
||||
0953f300f8e8b2bed79ef3189a1cb29f058f388b
|
@ -15,7 +15,7 @@
|
||||
# data base file, then tests that single byte corruptions in
|
||||
# increasingly larger quantities are handled gracefully.
|
||||
#
|
||||
# $Id: corruptC.test,v 1.5 2008/11/12 04:55:34 shane Exp $
|
||||
# $Id: corruptC.test,v 1.6 2008/11/12 11:57:42 danielk1977 Exp $
|
||||
|
||||
catch {file delete -force test.db test.db-journal test.bu}
|
||||
|
||||
@ -148,8 +148,6 @@ do_test corruptC-2.5 {
|
||||
catchsql {BEGIN; UPDATE t2 SET y='abcdef-uvwxyz'; ROLLBACK;}
|
||||
catchsql {PRAGMA integrity_check}
|
||||
} {0 {{*** in database main ***
|
||||
On tree page 4 cell 49: invalid page number 1006653561
|
||||
Corruption detected in cell 49 on page 4
|
||||
Corruption detected in cell 710 on page 4
|
||||
Multiple uses for byte 116 of page 4
|
||||
Fragmented space is 0 byte reported as 21 on page 4}}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user