aboutsummaryrefslogtreecommitdiff
path: root/test/corrupt7.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/corrupt7.test')
-rw-r--r--test/corrupt7.test7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/corrupt7.test b/test/corrupt7.test
index 7ebebd94e..aa66cc7ec 100644
--- a/test/corrupt7.test
+++ b/test/corrupt7.test
@@ -19,10 +19,9 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
-# 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;}
# These tests deal with corrupt database files
#