]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/264-dock-criteria.t
tests: use i3_config arg instead of precisely one launch_with_config
[i3/i3] / testcases / t / 264-dock-criteria.t
index cbbdeb0f66edb13071c4cd21af3cd8d248f12a65..d4b3b689565ee2caa39d0f65c90dba815c540f99 100644 (file)
 #
 # Verifies that command or config criteria does not match dock clients
 # Bug still in: 4.12-38-ge690e3d
-use i3test i3_autostart => 0;
-
-my $config = <<EOT;
+use i3test i3_config => <<EOT;
 # i3 config file (v4)
 for_window [class="dock"] move workspace current
 EOT
 
-my $pid = launch_with_config($config);
-
 my $ws = fresh_workspace();
 
 
@@ -67,5 +63,4 @@ is(get_dock_clients, 2, "created second docked client");
 is_num_children($ws, 0, 'no container on the current workspace');
 
 
-exit_gracefully($pid);
 done_testing;