summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_common.h
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-03-13 19:16:40 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-03-13 19:16:40 (GMT)
commitae351c237637c4d32dd7f719978c0f406c16b13a (patch)
tree7b3d81832e03b771a717e7cc92b8f75ca248a779 /test/vfd_swmr_common.h
parent9e81f0103cdd862140fe66fabadf2107deb93152 (diff)
downloadhdf5-ae351c237637c4d32dd7f719978c0f406c16b13a.zip
hdf5-ae351c237637c4d32dd7f719978c0f406c16b13a.tar.gz
hdf5-ae351c237637c4d32dd7f719978c0f406c16b13a.tar.bz2
Add tests for the two expected failure modes for variable-length (VL) strings
in VFD SWMR mode.
Diffstat (limited to 'test/vfd_swmr_common.h')
-rw-r--r--test/vfd_swmr_common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/vfd_swmr_common.h b/test/vfd_swmr_common.h
index ac08503..7998d29 100644
--- a/test/vfd_swmr_common.h
+++ b/test/vfd_swmr_common.h
@@ -61,6 +61,12 @@ typedef struct {
uint8_t info[DTYPE_SIZE]; /* "Other" information for this record */
} symbol_t;
+typedef enum _testsel {
+ TEST_NONE = 0
+, TEST_NULL
+, TEST_OOB
+} testsel_t;
+
/********************/
/* Global Variables */
/********************/
@@ -87,9 +93,14 @@ H5TEST_DLL int print_metadata_retries_info(hid_t fid);
H5TEST_DLL void block_signals(sigset_t *);
H5TEST_DLL void restore_signals(sigset_t *);
H5TEST_DLL void await_signal(hid_t);
+H5TEST_DLL hid_t vfd_swmr_create_fapl(bool, bool, bool);
+
+H5TEST_DLL void dbgf(int, const char *, ...) H5_ATTR_FORMAT(printf, 2, 3);
#ifdef __cplusplus
}
#endif
+extern int verbosity;
+
#endif /* _SWMR_COMMON_H */