From: Michael Stapelberg Date: Wed, 16 Nov 2011 21:41:45 +0000 (+0000) Subject: tests: store temp configs in /tmp/ X-Git-Tag: 4.2~244 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33ee4679e7f365ebddddad3a2925d7521ffbfcd6;p=i3%2Fi3 tests: store temp configs in /tmp/ --- 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);