/**
* \brief Creates a dummy threshold file, with all valid options, but
- * with splitted rules (multiline), for testing purposes.
+ * with split rules (multiline), for testing purposes.
*
* \retval fd Pointer to file descriptor.
*/
/**
* \brief Creates a dummy threshold file, with all valid options, but
- * with splitted rules (multiline), for testing purposes.
+ * with split rules (multiline), for testing purposes.
*
* \retval fd Pointer to file descriptor.
*/
/**
* \brief Creates a dummy threshold file, with all valid options, but
- * with splitted rules (multiline), for testing purposes.
+ * with split rules (multiline), for testing purposes.
*
* \retval fd Pointer to file descriptor.
*/
/**
* \brief Creates a dummy threshold file, with all valid options, but
- * with splitted rules (multiline), for testing purposes.
+ * with split rules (multiline), for testing purposes.
*
* \retval fd Pointer to file descriptor.
*/
/**
* \brief Creates a dummy threshold file, with all valid options, but
- * with splitted rules (multiline), for testing purposes.
+ * with split rules (multiline), for testing purposes.
*
* \retval fd Pointer to file descriptor.
*/
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest01(void)
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest02(void)
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest03(void)
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest04(void)
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest05(void)
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest06(void)
/**
* \test Check if the rate_filter rules are loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest07(void)
* \test Check if the rate_filter rules are loaded and well parsed
* with multilines
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest08(void)
/**
* \test Check if the rate_filter rules work
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest09(void)
/**
* \test Check if the rate_filter rules work with track by_rule
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest10(void)
/**
* \test Check if the rate_filter rules work
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest11(void)
/**
* \test Check if the rate_filter rules work
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest12(void)
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest13(void)
/**
* \test Check if the suppress rules work
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest14(void)
/**
* \test Check if the suppress rules work
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest15(void)
/**
* \test Check if the suppress rules work
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest16(void)
/**
* \test Check if the suppress rules work - ip only rule
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest17(void)
/**
* \test Check if the suppress rule parsing handles errors correctly
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest18(void)
/**
* \test Check if the suppress rule parsing handles errors correctly
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest19(void)
/**
* \test Check if the threshold file is loaded and well parsed
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest20(void)
* \test Check if the threshold file is loaded and well parsed, and applied
* correctly to a rule with thresholding
*
- * \retval 1 on succces
+ * \retval 1 on success
* \retval 0 on failure
*/
static int SCThresholdConfTest21(void)
}
/**
-* \test Check if the rate_filter rules work with track by_both
-*
-* \retval 1 on succces
-* \retval 0 on failure
-*/
+ * \test Check if the rate_filter rules work with track by_both
+ *
+ * \retval 1 on success
+ * \retval 0 on failure
+ */
static int SCThresholdConfTest22(void)
{
ThreadVars th_v;
}
/**
-* \test Check if the rate_filter by_both work when similar packets
-* going in opposite direction
-*
-* \retval 1 on succces
-* \retval 0 on failure
-*/
+ * \test Check if the rate_filter by_both work when similar packets
+ * going in opposite direction
+ *
+ * \retval 1 on success
+ * \retval 0 on failure
+ */
static int SCThresholdConfTest23(void)
{
ThreadVars th_v;