aboutsummaryrefslogtreecommitdiff
path: root/test/corruptG.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/corruptG.test')
-rw-r--r--test/corruptG.test7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/corruptG.test b/test/corruptG.test
index af920edf4..94480340a 100644
--- a/test/corruptG.test
+++ b/test/corruptG.test
@@ -14,10 +14,9 @@ set testdir [file dirname $argv0]
source $testdir/tester.tcl
set testprefix corruptG
-# 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
#