tests: modify $PATH so that it prefers the compiled versions of everything in ../
This commit is contained in:
parent
ad0f13a0a9
commit
ab2d96ba48
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue