|
|
@@ -143,4 +143,16 @@ public class UnzipTest extends BuildFileTest { |
|
|
|
+ "probably a self-extracting archive"); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
* PR 20969 |
|
|
|
*/ |
|
|
|
public void testPatternSetSlashOnly() { |
|
|
|
executeTarget("testPatternSetSlashOnly"); |
|
|
|
assertTrue("1/foo is not included", |
|
|
|
!getProject().resolveFile("unziptestout/1/foo").exists()); |
|
|
|
assertTrue("2/bar is included", |
|
|
|
getProject().resolveFile("unziptestout/2/bar").exists()); |
|
|
|
} |
|
|
|
|
|
|
|
} |