diff --git a/src/tests/stream-tcp-list.c b/src/tests/stream-tcp-list.c index 428b391408..d10c756bd9 100644 --- a/src/tests/stream-tcp-list.c +++ b/src/tests/stream-tcp-list.c @@ -28,9 +28,8 @@ static int VALIDATE(TcpStream *stream, uint8_t *data, uint32_t data_len) { - if (StreamingBufferCompareRawData(&stream->sb, - data, data_len) == 0) - { + // HACK: these tests should be updated to check the SBB blocks + if (memcmp(stream->sb.region.buf, data, data_len) != 0) { SCReturnInt(0); } SCLogInfo("OK");