tests/test-grep.t
branchstable
changeset 51361 c6560ee526d2
parent 48553 3b6b43a7ace4
--- a/tests/test-grep.t	Tue Jan 30 22:14:02 2024 +0000
+++ b/tests/test-grep.t	Thu Feb 01 19:35:35 2024 -0500
@@ -525,6 +525,23 @@
   port2:2147483647:deport
   port2:2147483647:wport
 
+Testing include/exclude
+
+  $ hg cp port tort
+  $ hg grep port -X tort
+  port:export
+  port:vaportight
+  port:import/export
+  port2:export
+  port2:vaportight
+  port2:import/export
+  port2:deport
+  port2:wport
+  $ hg grep port -I tort
+  tort:export
+  tort:vaportight
+  tort:import/export
+
   $ cd ..
   $ hg init t2
   $ cd t2