Skip to content
Snippets Groups Projects
Commit d824d4c8 authored by Timur Safin's avatar Timur Safin Committed by Kirill Yukhin
Browse files

test: make tuple_uint32_overflow tap-compatible

Part of #7618

NO_DOC=internal
NO_CHANGELOG=internal
parent b3dd8a9f
No related branches found
No related tags found
No related merge requests found
#include "tuple.h"
#include "unit.h"
#include <stdio.h>
#include <memory.h>
#include <fiber.h>
#define UNIT_TAP_COMPATIBLE 1
#include "unit.h"
static char data[500];
......@@ -61,6 +62,7 @@ tuple_field_u32_test()
int
main()
{
plan(2);
memory_init();
fiber_init(fiber_c_invoke);
tuple_init(NULL);
......@@ -73,5 +75,5 @@ main()
fiber_free();
memory_free();
return 0;
return check_plan();
}
*** tuple_next_u32_test ***
1..2
ok 1 - can read next uint32_t
ok 2 - can't read next uint64_t
*** tuple_next_u32_test: done ***
*** tuple_field_u32_test ***
1..2
ok 1 - can read uint32_t
ok 2 - can't read uint64_t
*** tuple_field_u32_test: done ***
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment