lttng: Do not use java.io.tmpdir property (/tmp) when possible
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / synthetictraces / LttngKernelTraceGenerator.java
index f1cb365e705e39eb6aa683f2a03d51267848078a..07d3ecab17668d2c15555456150f718c08e00595 100644 (file)
@@ -180,7 +180,7 @@ public class LttngKernelTraceGenerator {
      */
     public static void main(String[] args) {
         // not using createTempFile as this is a directory
-        String path = System.getProperty("java.io.tmpdir") + File.separator + TRACE_NAME;
+        String path = CtfCoreTestPlugin.getTemporaryDirPath() + File.separator + TRACE_NAME;
         generateLttngKernelTrace(new File(path));
     }
 
This page took 0.026685 seconds and 5 git commands to generate.