stream/list: hack around GAP handling in tests

pull/8406/head
Victor Julien 3 years ago
parent d2001ef94b
commit 42d3cd2061

@ -28,9 +28,8 @@
static int VALIDATE(TcpStream *stream, uint8_t *data, uint32_t data_len) static int VALIDATE(TcpStream *stream, uint8_t *data, uint32_t data_len)
{ {
if (StreamingBufferCompareRawData(&stream->sb, // HACK: these tests should be updated to check the SBB blocks
data, data_len) == 0) if (memcmp(stream->sb.region.buf, data, data_len) != 0) {
{
SCReturnInt(0); SCReturnInt(0);
} }
SCLogInfo("OK"); SCLogInfo("OK");

Loading…
Cancel
Save