]> git.sur5r.net Git - i3/i3/commitdiff
tests: store temp configs in /tmp/
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 16 Nov 2011 21:41:45 +0000 (21:41 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 16 Nov 2011 21:41:45 +0000 (21:41 +0000)
testcases/lib/i3test.pm

index 331939052b165fd577a2483daf7bf6c1023a1c06..591064c43ef1e196de6a1829776cec3fc7cf1b68 100644 (file)
@@ -423,7 +423,7 @@ sub launch_with_config {
         $tmp_socket_path = File::Temp::tempnam('/tmp', 'i3-test-socket-');
     }
 
-    my ($fh, $tmpfile) = tempfile('i3-test-config-XXXXX', UNLINK => 1);
+    my ($fh, $tmpfile) = tempfile('/tmp/i3-test-config-XXXXX', UNLINK => 1);
     say $fh $config;
     say $fh "ipc-socket $tmp_socket_path" unless $dont_add_socket_path;
     close($fh);