Browse Source

suite files now constrained to be readable to avoid confusion with -ajctestTitle.. referents.

tags/V1_1_0
wisberg 21 years ago
parent
commit
5dd34ad8e4
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      testing-drivers/src/org/aspectj/testing/drivers/Harness.java

+ 2
- 1
testing-drivers/src/org/aspectj/testing/drivers/Harness.java View File

@@ -371,7 +371,8 @@ public class Harness {
protected boolean isSuiteFile(String arg) {
return ((null != arg)
&& (arg.endsWith(".txt") || arg.endsWith(".xml")));
&& (arg.endsWith(".txt") || arg.endsWith(".xml"))
&& new File(arg).canRead());
}
/**

Loading…
Cancel
Save