Allow tests to specify a file name for inject_randr15's
--getoutputinfo_reply command-line parameter.
if ($args{inject_randr15}) {
# See comment in $args{strace} branch.
$cmd = 'test.inject_randr15 --getmonitors_reply="' .
- $args{inject_randr15} . '" -- ' .
+ $args{inject_randr15} . '" ' .
+ ($args{inject_randr15_outputinfo}
+ ? '--getoutputinfo_reply="' .
+ $args{inject_randr15_outputinfo} . '" '
+ : '') .
+ '-- ' .
'sh -c "export LISTEN_PID=\$\$; ' . $cmd . '"';
}
dont_create_temp_dir => $args{dont_create_temp_dir},
validate_config => $args{validate_config},
inject_randr15 => $args{inject_randr15},
+ inject_randr15_outputinfo => $args{inject_randr15_outputinfo},
);
# If we called i3 with -C, we wait for it to exit and then return as