From: Michael Stapelberg Date: Thu, 20 Oct 2011 18:02:08 +0000 (+0100) Subject: tests: modify $PATH so that it prefers the compiled versions of everything in ../ X-Git-Tag: 4.1~92^2~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab2d96ba48cb903c7654a679ad045da621ead31b;p=i3%2Fi3 tests: modify $PATH so that it prefers the compiled versions of everything in ../ --- 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;