From ab2d96ba48cb903c7654a679ad045da621ead31b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 20 Oct 2011 19:02:08 +0100 Subject: [PATCH] tests: modify $PATH so that it prefers the compiled versions of everything in ../ --- testcases/lib/SocketActivation.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/testcases/lib/SocketActivation.pm b/testcases/lib/SocketActivation.pm index ef182012..11a672e3 100644 --- a/testcases/lib/SocketActivation.pm +++ b/testcases/lib/SocketActivation.pm @@ -54,6 +54,14 @@ sub activate_i3 { $ENV{LISTEN_PID} = $$; $ENV{LISTEN_FDS} = 1; $ENV{DISPLAY} = $args{display}; + $ENV{PATH} = join(':', + '../i3-nagbar', + '../i3-msg', + '../i3-config-wizard', + '../i3bar', + '..', + $ENV{PATH} + ); # Only pass file descriptors 0 (stdin), 1 (stdout), 2 (stderr) and # 3 (socket) to the child. $^F = 3; -- 2.39.5