From: wisberg Date: Sun, 25 May 2003 00:44:02 +0000 (+0000) Subject: suite files now constrained to be readable to avoid confusion with -ajctestTitle... X-Git-Tag: V1_1_0~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5dd34ad8e4567687c774a03587bdd2a2338639c7;p=aspectj.git suite files now constrained to be readable to avoid confusion with -ajctestTitle.. referents. --- diff --git a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java index b9b540cba..1a8e8ea9d 100644 --- a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java +++ b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java @@ -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()); } /**