Index: vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/ImportTests.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/ImportTests.java	(date 1398210981000)
+++ vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/ImportTests.java	(revision )
@@ -67,6 +67,24 @@
     }
 
     @Test
+    public void testReimportLess() throws IOException, RepositoryException, ConfigurationException {
+        ZipArchive archive = new ZipArchive(getTempFile("testpackages/tmp.zip"));
+        archive.open(true);
+        Node rootNode = admin.getRootNode();
+        ImportOptions opts = getDefaultOptions();
+        Importer importer = new Importer(opts);
+        importer.run(archive, rootNode);
+
+        assertNodeExists("/tmp/foo/bar/tobi");
+
+        ZipArchive archive2 = new ZipArchive(getTempFile("testpackages/tmp-less.zip"));
+        archive2.open(true);
+        importer.run(archive2, rootNode);
+
+        assertNodeMissing("/tmp/foo/bar/tobi");
+    }
+
+    @Test
     public void testFilteredImport() throws IOException, RepositoryException, ConfigurationException {
         ZipArchive archive = new ZipArchive(getTempFile("testpackages/filtered_package.zip"));
         archive.open(true);
\ No newline at end of file
