summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/pbits/tpbitsCharLengthExceeded.ddl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testfiles/pbits/tpbitsCharLengthExceeded.ddl')
-rw-r--r--tools/testfiles/pbits/tpbitsCharLengthExceeded.ddl18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/testfiles/pbits/tpbitsCharLengthExceeded.ddl b/tools/testfiles/pbits/tpbitsCharLengthExceeded.ddl
new file mode 100644
index 0000000..b0683a7
--- /dev/null
+++ b/tools/testfiles/pbits/tpbitsCharLengthExceeded.ddl
@@ -0,0 +1,18 @@
+HDF5 "packedbits.h5" {
+DATASET "/DS08BITS" {
+ DATATYPE H5T_STD_I8LE
+ DATASPACE SIMPLE { ( 8, 8 ) / ( 8, 8 ) }
+ PACKED_BITS OFFSET=2 LENGTH=7
+ DATA {
+ (0,0): 0, 0, 0, 0, 0, 0, 0, 0,
+ (1,0): 0, 0, 0, 0, 0, 0, 0, 0,
+ (2,0): 0, 0, 0, 0, 0, 0, 0, 0,
+ (3,0): 0, 0, 0, 0, 0, 0, 0, 0,
+ (4,0): 0, 0, 0, 0, 0, 0, 0, 0,
+ (5,0): 0, 0, 0, 0, 0, 0, 0, 0,
+ (6,0): 0, 0, 0, 0, 0, 0, 0, 0,
+ (7,0): 0, 0, 0, 0, 0, 0, 0, 0
+ }
+}
+}
+h5dump error: Packed Bit offset+length value(9) too large. Max is 8