Skip to content

Commit

Permalink
TS-35786 check executable flag after extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrhein committed Nov 21, 2023
1 parent 6a554b3 commit c00b82a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/com/teamscale/upload/JLinkIntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c00b82a

Please sign in to comment.