]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/281-regress-reload-bindsym.t
tests: use i3_config arg instead of precisely one launch_with_config
[i3/i3] / testcases / t / 281-regress-reload-bindsym.t
index 6d5d12c3d5fd720b1f04771cee51e22b5837a4ae..ad81244e02cfc971d7faa3b2ccd5078b99da896b 100644 (file)
@@ -16,9 +16,7 @@
 #
 # Test that the binding event works properly
 # Ticket: #1210
-use i3test i3_autostart => 0;
-
-my $config = <<EOT;
+use i3test i3_config => <<EOT;
 # i3 config file (v4)
 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
 
@@ -30,16 +28,9 @@ SKIP: {
 
     skip 'xdotool is required to test the binding event. `[apt-get install|pacman -S] xdotool`', 1 if $?;
 
-    my $pid = launch_with_config($config);
-
-    my $i3 = i3(get_socket_path());
-    $i3->connect->recv;
-
     qx(xdotool key r);
 
     does_i3_live;
 
-    exit_gracefully($pid);
-
 }
 done_testing;