summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/pbits/tpbitsCharOffsetExceeded.ddl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testfiles/pbits/tpbitsCharOffsetExceeded.ddl')
-rw-r--r--tools/testfiles/pbits/tpbitsCharOffsetExceeded.ddl18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/testfiles/pbits/tpbitsCharOffsetExceeded.ddl b/tools/testfiles/pbits/tpbitsCharOffsetExceeded.ddl
new file mode 100644
index 0000000..530fa05
--- /dev/null
+++ b/tools/testfiles/pbits/tpbitsCharOffsetExceeded.ddl
@@ -0,0 +1,18 @@
+HDF5 "packedbits.h5" {
+DATASET "/DS08BITS" {
+ DATATYPE H5T_STD_I8LE
+ DATASPACE SIMPLE { ( 8, 8 ) / ( 8, 8 ) }
+ PACKED_BITS OFFSET=8 LENGTH=1
+ 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