summaryrefslogtreecommitdiff
path: root/test/corruptD.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/corruptD.test')
-rw-r--r--test/corruptD.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/corruptD.test b/test/corruptD.test
index 393d41e..2423cd4 100644
--- a/test/corruptD.test
+++ b/test/corruptD.test
@@ -107,12 +107,12 @@ proc restore_file {} {
do_test corruptD-1.1.1 {
incr_change_counter
hexio_write test.db [expr 1024+1] FFFF
- catchsql { SELECT * FROM t1 }
+ catchsql { SELECT * FROM t1 ORDER BY rowid }
} {1 {database disk image is malformed}}
do_test corruptD-1.1.2 {
incr_change_counter
hexio_write test.db [expr 1024+1] [hexio_render_int32 1021]
- catchsql { SELECT * FROM t1 }
+ catchsql { SELECT * FROM t1 ORDER BY rowid }
} {1 {database disk image is malformed}}
#-------------------------------------------------------------------------