diff options
author | wisberg <wisberg> | 2003-05-25 00:44:02 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-05-25 00:44:02 +0000 |
commit | 5dd34ad8e4567687c774a03587bdd2a2338639c7 (patch) | |
tree | 02d0a492c37ffb6e738b2c5cd5aae6f678650842 /testing-drivers/src | |
parent | 1313eacea5fa3f240eac2f38d892a8b887ebc9ea (diff) | |
download | aspectj-5dd34ad8e4567687c774a03587bdd2a2338639c7.tar.gz aspectj-5dd34ad8e4567687c774a03587bdd2a2338639c7.zip |
suite files now constrained to be readable to avoid confusion with -ajctestTitle.. referents.
Diffstat (limited to 'testing-drivers/src')
-rw-r--r-- | testing-drivers/src/org/aspectj/testing/drivers/Harness.java | 3 |
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()); } /** |