aboutsummaryrefslogtreecommitdiff
path: root/test/corruptI.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/corruptI.test')
-rw-r--r--test/corruptI.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/corruptI.test b/test/corruptI.test
index 9f46efb74..cdcb94201 100644
--- a/test/corruptI.test
+++ b/test/corruptI.test
@@ -19,10 +19,10 @@ if {[permutation]=="mmap"} {
return
}
-# Do not use a codec for tests in this file, as the database file is
-# manipulated directly using tcl scripts (using the [hexio_write] command).
-#
-do_not_use_codec
+# This module uses hard-coded offsets which do not work if the reserved_bytes
+# value is nonzero.
+if {[nonzero_reserved_bytes]} {finish_test; return;}
+
database_may_be_corrupt
# Initialize the database.