Add a test for bug 3463 -- duplicate threshold options not detected.
--- /dev/null
+alert http any any -> any any (msg:"CURL2"; flow:established,to_server; content:"GET"; http_method; content:"curl"; http_user_agent; threshold: type limit, track by_src, count 1 , seconds 60; content: "| 0a|";threshold: type limit, track by_src, count 1 , seconds 60; sid:2;)
--- /dev/null
+requires:
+ min-version: 6.0.0
+ pcap: false
+
+exit-code: 1
+
+args:
+ - --engine-analysis
+
+checks:
+ - shell:
+ args: grep "multiple \"threshold\" options are not allowed in the same rule" suricata.log | wc -l | xargs
+ expect: 1