From 33ee4679e7f365ebddddad3a2925d7521ffbfcd6 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 16 Nov 2011 21:41:45 +0000 Subject: [PATCH] tests: store temp configs in /tmp/ --- testcases/lib/i3test.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/lib/i3test.pm b/testcases/lib/i3test.pm index 33193905..591064c4 100644 --- a/testcases/lib/i3test.pm +++ b/testcases/lib/i3test.pm @@ -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); -- 2.39.5