From 53041eeb67404a4fb722e8fdc9f4d8b441c46a6c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 28 Dec 2009 14:36:48 +0100 Subject: [PATCH] Small cleanups. --- src/detect-content.c | 2 +- src/detect-engine-port.c | 4 ++-- src/detect-rpc.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/detect-content.c b/src/detect-content.c index f2944f0e3e..b7801cbd65 100644 --- a/src/detect-content.c +++ b/src/detect-content.c @@ -3050,7 +3050,7 @@ void DetectContentRegisterTests(void) UtRegisterTest("DetectContentChunkMatchTest08", DetectContentChunkMatchTest08, 1); UtRegisterTest("DetectContentChunkMatchTest09", DetectContentChunkMatchTest09, 1); UtRegisterTest("DetectContentChunkMatchTest10", DetectContentChunkMatchTest10, 1); - UtRegisterTest("DetectContentChunkMatchTest11", DetectContentChunkMatchTest11, 1); + UtRegisterTest("DetectContentChunkMatchTest11 (failure expected, bug #24)", DetectContentChunkMatchTest11, 1); /* Negated content tests */ UtRegisterTest("SigTest41TestNegatedContent", SigTest41TestNegatedContent, 1); diff --git a/src/detect-engine-port.c b/src/detect-engine-port.c index 5be1120581..4e5da4dbae 100644 --- a/src/detect-engine-port.c +++ b/src/detect-engine-port.c @@ -2510,9 +2510,9 @@ void DetectPortTests(void) { UtRegisterTest("PortTestMatchReal16", PortTestMatchReal16, 1); UtRegisterTest("PortTestMatchReal17", PortTestMatchReal17, 1); UtRegisterTest("PortTestMatchReal18", PortTestMatchReal18, 1); - UtRegisterTest("PortTestMatchReal19 (expected to fail, see bug #8)", + UtRegisterTest("PortTestMatchReal19", PortTestMatchReal19, 1); - UtRegisterTest("PortTestMatchDoubleNegation", PortTestMatchDoubleNegation, 1); + UtRegisterTest("PortTestMatchDoubleNegation (failure expected, bug #25)", PortTestMatchDoubleNegation, 1); #endif /* UNITTESTS */ diff --git a/src/detect-rpc.c b/src/detect-rpc.c index 20be46315f..6d5e4a99b6 100644 --- a/src/detect-rpc.c +++ b/src/detect-rpc.c @@ -495,7 +495,7 @@ static int DetectRpcTestSig01(void) { goto end; } - //de_ctx->flags |= DE_QUIET; + de_ctx->flags |= DE_QUIET; s = de_ctx->sig_list = SigInit(de_ctx,"alert udp any any -> any any (msg:\"RPC Get Port Call\"; rpc:100000, 2, 3; sid:1;)"); if (s == NULL) {