2 # vim:ts=4:sw=4:expandtab
4 # Tests that the provided X-Server to the t/5??-*.t tests is actually providing
7 use i3test i3_autostart => 0;
11 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
13 fake-outputs 1024x768+0+0,1024x768+1024+0
15 my $pid = launch_with_config($config);
17 my $i3 = i3(get_socket_path());
23 my $tree = $i3->get_tree->recv;
25 my @outputs = map { $_->{name} } @{$tree->{nodes}};
26 is_deeply(\@outputs, [ '__i3', 'fake-0', 'fake-1' ],
27 'multi-monitor outputs ok');
29 exit_gracefully($pid);