diff --git a/src/test/java/com/teamscale/upload/JLinkIntegrationTest.java b/src/test/java/com/teamscale/upload/JLinkIntegrationTest.java index 933592e..e501f43 100644 --- a/src/test/java/com/teamscale/upload/JLinkIntegrationTest.java +++ b/src/test/java/com/teamscale/upload/JLinkIntegrationTest.java @@ -66,6 +66,9 @@ public static void extractDistribution() throws IOException { if (!executable.exists()) { Assertions.fail("Could not find executable after extracting distribution. " + executable.getPath()); } + if (!executable.canExecute()) { + Assertions.fail("teamscale-upload script exists, but is not executable after extracting distribution. " + executable.getPath()); + } } @Override