about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ce/certificate-ripper/fix-test-temp-dir-path.patch
blob: ff9b7d3bebd554bd7fb3ca964be1f612e4663efd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/test/java/nl/altindag/crip/command/FileBaseTest.java b/src/test/java/nl/altindag/crip/command/FileBaseTest.java
index 674ca10..f140601 100644
--- a/src/test/java/nl/altindag/crip/command/FileBaseTest.java
+++ b/src/test/java/nl/altindag/crip/command/FileBaseTest.java
@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
 
 public class FileBaseTest extends BaseTest {
 
-    protected static final Path TEMP_DIRECTORY = Paths.get(System.getProperty("user.home"), "certificate-ripper-temp");
+    protected static final Path TEMP_DIRECTORY = Paths.get(System.getenv("TMP"), "certificate-ripper-temp");
 
     @BeforeEach
     void createTempDirAndClearConsoleCaptor() throws IOException {