diff --git a/src/etc/testcases/taskdefs/optional/junitreport.xml b/src/etc/testcases/taskdefs/optional/junitreport.xml
index 34523f092..15cb67cc5 100644
--- a/src/etc/testcases/taskdefs/optional/junitreport.xml
+++ b/src/etc/testcases/taskdefs/optional/junitreport.xml
@@ -1,12 +1,12 @@
-
+
-
@@ -29,7 +29,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -61,19 +61,48 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/testcases/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java b/src/testcases/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
index b41d567c8..f0e04b04e 100644
--- a/src/testcases/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
+++ b/src/testcases/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
@@ -106,5 +106,19 @@ public class JUnitReportTest extends BuildFileTest {
}
}
-}
+ // Bugzilla Report 38477
+ public void testSpecialSignsInSrcPath() throws Exception {
+ executeTarget("testSpecialSignsInSrcPath");
+ if (! new File(System.getProperty("root"), "src/etc/testcases/taskdefs/optional/junitreport/test/html/index.html").exists()) {
+ fail("No index.html present. Not generated?");
+ }
+ }
+ public void testSpecialSignsInHtmlPath() throws Exception {
+ executeTarget("testSpecialSignsInHtmlPath");
+ if (! new File(System.getProperty("root"), "src/etc/testcases/taskdefs/optional/junitreport/test/html# $%§&-!report/index.html").exists()) {
+ fail("No index.html present. Not generated?");
+ }
+ }
+
+}
\ No newline at end of file