SLING-11315 - tentative additional tests to figure out the current behavior
diff --git a/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java b/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java
index f644f75..fe8bad4 100644
--- a/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java
+++ b/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java
@@ -97,6 +97,20 @@
         .with(P_SELECTORS, new String[] { ".EMPTY." })
         .with(P_EXTENSIONS, new String[] { ".EMPTY." })
         .register(bundleContext);
+
+        new TestServlet("DuplicateA")
+        .with(P_PATHS, "/duplicate")
+        .with(P_STRICT_PATHS, "true")
+        .with(P_SELECTORS, new String[] { "dup", "licate" })
+        .with(P_EXTENSIONS, new String[] { "json" })
+        .register(bundleContext);
+
+        new TestServlet("DuplicateB")
+        .with(P_PATHS, "/duplicate")
+        .with(P_STRICT_PATHS, "true")
+        .with(P_SELECTORS, new String[] { "dup", "licate" })
+        .with(P_EXTENSIONS, new String[] { "json" })
+        .register(bundleContext);
     }
 
     @Test
@@ -188,4 +202,9 @@
         assertTestServlet("/emptySel.ext", "EmptySelectors");
         assertTestServlet("/emptySel.sel.ext", HttpServletResponse.SC_FORBIDDEN);
     }
+
+    @Test
+    public void testDuplicate() throws Exception {
+        assertTestServlet("/duplicate.dup.json", "DuplicateA");
+    }
 }
\ No newline at end of file