jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1817610 - /jmeter/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy
Date Sat, 09 Dec 2017 13:55:22 GMT
Author: pmouawad
Date: Sat Dec  9 13:55:22 2017
New Revision: 1817610

URL: http://svn.apache.org/viewvc?rev=1817610&view=rev
Log:
Fix Windows Jenkins failure

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy

Modified: jmeter/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy?rev=1817610&r1=1817609&r2=1817610&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/services/FileServerSpec.groovy Sat Dec  9 13:55:22
2017
@@ -129,7 +129,7 @@ class FileServerSpec extends JMeterSpec
         when:
             sut.setBasedir("testfiles/unit/FileServerSpec.csv")
         then:
-            sut.getBaseDir().endsWith("testfiles/unit")
+            sut.getBaseDir().replaceAll("\\\\", "/").endsWith("testfiles/unit")
     }
 
     // TODO: what about throwing an exception in setBaseDir?



Mime
View raw message