--- /dev/null
+Test Description
+================
+
+This test demonstrates the unset operation for datasets.
+
+PCAP
+====
+
+Running as server `python3 -m http.server 8001`
+And as clients
+```
+curl -A "useragent1" http://127.0.0.1:8001/toto
+curl -A "useragent2" http://127.0.0.1:8001/toto
+curl -A "useragent1" http://127.0.0.1:8001/tata
+```
+
+Related tickets
+===============
+
+https://redmine.openinfosecfoundation.org/issues/7195
--- /dev/null
+dXNlcmFnZW50Mg==
--- /dev/null
+alert http any any -> any any (http.uri; content: "/toto"; http.user_agent; dataset:set,ua-seen,type string,save after.csv; sid:1;)
+alert http any any -> any any (http.uri; content: "/tata"; http.user_agent; dataset:unset,ua-seen,type string,save after.csv; sid:2;)
--- /dev/null
+requires:
+ min-version: 7
+
+args:
+ - --data-dir=${OUTPUT_DIR} -k none --runmode single
+
+checks:
+# 2 sets and 1 unset alerts
+ - filter:
+ count: 2
+ match:
+ event_type: alert
+ alert.signature_id: 1
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 2
+ - file-compare:
+ filename: after.csv
+ expected: expected/after.csv