Skip to content

Commit

Permalink
detect/filestore: fix unittest
Browse files Browse the repository at this point in the history
As filestore keyword is not anymore preventing a match, we need
to update some tests that were using this "feature".
  • Loading branch information
regit committed Nov 2, 2024
1 parent 7fb3307 commit b9d406d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app-layer-htp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5799,12 +5799,12 @@ libhtp:\n\
/* do detect */
SigMatchSignatures(&th_v, de_ctx, det_ctx, p1);

FAIL_IF((PacketAlertCheck(p1, 1)));
FAIL_IF((PacketAlertCheck(p1, 2)));

/* do detect */
SigMatchSignatures(&th_v, de_ctx, det_ctx, p1);

FAIL_IF((PacketAlertCheck(p1, 1)));
FAIL_IF((PacketAlertCheck(p1, 2)));

r = AppLayerParserParse(
&th_v, alp_tctx, &f, ALPROTO_HTTP1, STREAM_TOCLIENT, httpbuf2, httplen2);
Expand Down

0 comments on commit b9d406d

Please sign in to comment.