aboutsummaryrefslogtreecommitdiffstats
path: root/testing-drivers
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-25 00:44:02 +0000
committerwisberg <wisberg>2003-05-25 00:44:02 +0000
commit5dd34ad8e4567687c774a03587bdd2a2338639c7 (patch)
tree02d0a492c37ffb6e738b2c5cd5aae6f678650842 /testing-drivers
parent1313eacea5fa3f240eac2f38d892a8b887ebc9ea (diff)
downloadaspectj-5dd34ad8e4567687c774a03587bdd2a2338639c7.tar.gz
aspectj-5dd34ad8e4567687c774a03587bdd2a2338639c7.zip
suite files now constrained to be readable to avoid confusion with -ajctestTitle.. referents.
Diffstat (limited to 'testing-drivers')
-rw-r--r--testing-drivers/src/org/aspectj/testing/drivers/Harness.java3
1 files changed, 2 insertions, 1 deletions
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());
}
/**