summaryrefslogtreecommitdiff
path: root/test/packing/intpack-test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/packing/intpack-test2.c')
-rw-r--r--test/packing/intpack-test2.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/packing/intpack-test2.c b/test/packing/intpack-test2.c
index 7555d2724e7..e9443ad7ed1 100644
--- a/test/packing/intpack-test2.c
+++ b/test/packing/intpack-test2.c
@@ -26,9 +26,9 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "wt_internal.h" /* For __wt_XXX */
+#include "test_util.i"
-#include <assert.h>
+void (*custom_die)(void) = NULL;
int
main(void)
@@ -38,14 +38,15 @@ main(void)
for (i = 1; i < 1LL << 60; i <<= 1) {
end = buf;
- assert(__wt_vpack_uint(&end, sizeof(buf), (uint64_t)i) == 0);
+ testutil_check(
+ __wt_vpack_uint(&end, sizeof(buf), (uint64_t)i));
printf("%" PRId64 " ", i);
for (p = buf; p < end; p++)
printf("%02x", *p);
printf("\n");
end = buf;
- assert(__wt_vpack_int(&end, sizeof(buf), -i) == 0);
+ testutil_check(__wt_vpack_int(&end, sizeof(buf), -i));
printf("%" PRId64 " ", -i);
for (p = buf; p < end; p++)
printf("%02x", *p);