Skip to content
Permalink
Browse files
8245788: EmptyFolderPackageTest fails on Windows 10
Reviewed-by: herrick, asemenyuk
  • Loading branch information
Alexander Matveev committed Jun 10, 2020
1 parent 7450098 commit 52be8949e74d0c5887980d22abe3c8013a3e7c53
Showing 1 changed file with 8 additions and 0 deletions.
@@ -24,6 +24,7 @@
import java.nio.file.Path;
import jdk.incubator.jpackage.internal.ApplicationLayout;
import jdk.jpackage.test.PackageTest;
import jdk.jpackage.test.PackageType;
import jdk.jpackage.test.TKit;

/**
@@ -51,6 +52,13 @@ public static void main(String[] args) throws Exception {
EmptyFolderBase.createDirStrcture(input);
})
.addInstallVerifier(cmd -> {
if (cmd.packageType() == PackageType.WIN_MSI) {
if (cmd.isPackageUnpacked("Not running file "
+ "structure check for empty folders")) {
return;
}
}

ApplicationLayout appLayout = cmd.appLayout();
Path appDir = appLayout.appDirectory();
EmptyFolderBase.validateDirStrcture(appDir);

0 comments on commit 52be894

Please sign in to comment.