jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1553228 - /jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java
Date Mon, 23 Dec 2013 23:04:00 GMT
Author: sebb
Date: Mon Dec 23 23:04:00 2013
New Revision: 1553228

URL: http://svn.apache.org/r1553228
Log:
Allow for old-style SVN workspaces

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java?rev=1553228&r1=1553227&r2=1553228&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java Mon Dec 23 23:04:00 2013
@@ -181,9 +181,11 @@ public class JMeterVersionTest extends J
         String [] lice = licencesDir.list(new FilenameFilter() {
             @Override
             public boolean accept(File dir, String name) {
-                return ! name.equalsIgnoreCase("README.txt");
+                return ! name.equalsIgnoreCase("README.txt") 
+                        && !name.equals(".svn"); // Allow for old-style SVN workspaces
             }
         });
+        assertTrue("Expected at least one license file",lice.length > 0);
         for(String l : lice) {
             if (!liceNames.remove(l)) {
                 fail("Mismatched version in license file " + l);



Mime
View raw message