Skip to content

Commit

Permalink
Set execute perms inside test
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlauer committed Nov 4, 2024
1 parent 9f4d06d commit c891a80
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public void destroy() throws Exception {
} else {
binFile = Resources.file("/bin/echo-sleep-test");
}
binFile.toFile().setExecutable(true);

final StartedProcess startedProcess = new ProcessExecutor()
.command(binFile.toAbsolutePath().toString())
Expand All @@ -51,6 +52,7 @@ public void destroyWithDescendants() throws Exception {
} else {
binFile = Resources.file("/bin/echo-sleep-test");
}
binFile.toFile().setExecutable(true);

final StartedProcess startedProcess = new ProcessExecutor()
.command(binFile.toAbsolutePath().toString())
Expand Down

0 comments on commit c891a80

Please sign in to comment.