tests: spelling

pull/8828/head
Victor Julien 2 years ago
parent 410741f4ba
commit a76145fba6

@ -821,7 +821,7 @@ libhtp:\n\
}
/**
* \test Test that a signature containting a http_client_body is correctly parsed
* \test Test that a signature containing a http_client_body is correctly parsed
* and the keyword is registered.
*/
static int DetectHttpClientBodyTest01(void)

@ -2419,7 +2419,7 @@ end:
}
/**
* \test Test that a signature containting a http_host is correctly parsed
* \test Test that a signature containing a http_host is correctly parsed
* and the keyword is registered.
*/
static int DetectHttpHHTest01(void)

@ -5766,7 +5766,7 @@ end:
/**
*\test Test that the http_server_body content matches against a http request
* which holds the content. Case insensitve.
* which holds the content. Case insensitive.
*/
static int DetectHttpServerBodyTest10(void)
{
@ -7089,7 +7089,7 @@ end:
/**
*\test Test that the http_server_body content matches against a http request
* which holds the content. Case insensitve.
* which holds the content. Case insensitive.
*/
static int DetectHttpServerBodyFileDataTest05(void)
{

@ -2166,7 +2166,7 @@ end:
}
/** \test Check the signature working to alert when http_stat_code is matched for
* for negatoin or not */
* for negation or not */
static int DetectHttpStatCodeSigTest04(void)
{
int result = 0;

@ -364,7 +364,7 @@ static int DetectHttpUATestSigParse(const char *sig, const bool expect)
}
/**
* \test Test that a signature containting a http_user_agent is correctly parsed
* \test Test that a signature containing a http_user_agent is correctly parsed
* and the keyword is registered.
*/
static int DetectHttpUATest01(void)

@ -28,7 +28,7 @@
/**
* \test Test that a signature containing tls.certs is correctly parsed
* and that the keyword is registred.
* and that the keyword is registered.
*/
static int DetectTlsCertsTest01(void)
{

@ -3318,7 +3318,7 @@ static int SigTest36ContentAndIsdataatKeywords01 (void)
{
int result = 0;
// Buid and decode the packet
// Build and decode the packet
uint8_t raw_eth [] = {
0x00,0x25,0x00,0x9e,0xfa,0xfe,0x00,0x02,0xcf,0x74,0xfe,0xe1,0x08,0x00,0x45,0x00
@ -3436,7 +3436,7 @@ static int SigTest37ContentAndIsdataatKeywords02 (void)
{
int result = 0;
// Buid and decode the packet
// Build and decode the packet
uint8_t raw_eth [] = {
0x00,0x25,0x00,0x9e,0xfa,0xfe,0x00,0x02,0xcf,0x74,0xfe,0xe1,0x08,0x00,0x45,0x00
@ -3626,7 +3626,7 @@ end:
/**
* \test SigTest42NoPayloadInspection is a test to check that when PKT_NOPAYLOAD_INSPECTION
* flasg is set, we don't need to inspect the packet contents.
* flag is set, we don't need to inspect the packet contents.
*/
static int SigTest40NoPayloadInspection02(void)

@ -145,7 +145,7 @@ static int StreamTcpTest02(void)
}
/**
* \test Test the setting up a TCP session when we missed the intial
* \test Test the setting up a TCP session when we missed the initial
* SYN packet of the session. The session is setup only if midstream
* sessions are allowed to setup.
*
@ -219,7 +219,7 @@ end:
}
/**
* \test Test the setting up a TCP session when we missed the intial
* \test Test the setting up a TCP session when we missed the initial
* SYN/ACK packet of the session. The session is setup only if
* midstream sessions are allowed to setup.
*
@ -286,7 +286,7 @@ end:
}
/**
* \test Test the setting up a TCP session when we missed the intial
* \test Test the setting up a TCP session when we missed the initial
* 3WHS packet of the session. The session is setup only if
* midstream sessions are allowed to setup.
*
@ -509,7 +509,7 @@ static int StreamTcpTest07(void)
}
/**
* \test Test the working on PAWS. The packet will be accpeted by engine as
* \test Test the working on PAWS. The packet will be accepted by engine as
* the timestamp is valid and it is in window.
*/
@ -1962,7 +1962,7 @@ end:
}
/** \test Test the various OS policies based on different IP addresses from
confuguration defined in 'dummy_conf_string1' */
configuration defined in 'dummy_conf_string1' */
static int StreamTcpTest18(void)
{
StreamTcpThread stt;
@ -2009,7 +2009,7 @@ end:
return ret;
}
/** \test Test the various OS policies based on different IP addresses from
confuguration defined in 'dummy_conf_string1' */
configuration defined in 'dummy_conf_string1' */
static int StreamTcpTest19(void)
{
StreamTcpThread stt;
@ -2059,7 +2059,7 @@ end:
return ret;
}
/** \test Test the various OS policies based on different IP addresses from
confuguration defined in 'dummy_conf_string1' */
configuration defined in 'dummy_conf_string1' */
static int StreamTcpTest20(void)
{
StreamTcpThread stt;
@ -2109,7 +2109,7 @@ end:
return ret;
}
/** \test Test the various OS policies based on different IP addresses from
confuguration defined in 'dummy_conf_string1' */
configuration defined in 'dummy_conf_string1' */
static int StreamTcpTest21(void)
{
StreamTcpThread stt;
@ -2159,7 +2159,7 @@ end:
return ret;
}
/** \test Test the various OS policies based on different IP addresses from
confuguration defined in 'dummy_conf_string1' */
configuration defined in 'dummy_conf_string1' */
static int StreamTcpTest22(void)
{
StreamTcpThread stt;
@ -2692,7 +2692,7 @@ static int StreamTcpTest37(void)
}
if (((TcpSession *)p->flow->protoctx)->state != TCP_ESTABLISHED) {
printf("the TCP state should be TCP_ESTABLISEHD\n");
printf("the TCP state should be TCP_ESTABLISHED\n");
goto end;
}

Loading…
Cancel
Save