Skip to content

Commit

Permalink
Failing test for hash directories. Rollback to Gradle 2.10 so test pa…
Browse files Browse the repository at this point in the history
…sses
  • Loading branch information
DanielThomas committed Mar 23, 2016
1 parent 68dda5d commit 0ed49ea
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Mon Mar 21 12:46:53 PDT 2016
#Wed Mar 23 13:14:43 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-bin.zip
Expand Up @@ -1062,4 +1062,27 @@ class DebPluginTest extends ProjectSpec {
}
taskA.getAllDependencies() == taskB.getAllDependencies()
}
@Issue("")
def 'special characters in directory names'() {
given:
File nodeModules = new File(projectDir, 'node_modules')
File file = new File(nodeModules, "memoizee/node_modules/es5-ext/string/#/at.js")
Files.createParentDirs(file)
file.text = "dummy"
project.apply plugin: 'nebula.deb'
Deb debTask = project.task('buildDeb', type: Deb) {
user 'test'
permissionGroup 'testgroup'
from(projectDir)
}
when:
debTask.execute()
then:
def scan = new Scanner(debTask.archivePath)
def entry = scan.getEntry('./node_modules/memoizee/node_modules/es5-ext/string/#/at.js')
entry.isFile()
}
}

0 comments on commit 0ed49ea

Please sign in to comment.