]> git.sur5r.net Git - i3/i3/commitdiff
tests: fix t/113-urgent.t after previous commit
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 22 Sep 2012 12:19:20 +0000 (14:19 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 22 Sep 2012 12:19:20 +0000 (14:19 +0200)
testcases/t/113-urgent.t

index 10368532eeae60c3eb8431efcc354e83f195cf45..58eff694dcd23da5f91e17bb7dc3e0ffb11079fa 100644 (file)
 # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
 #   (unless you are already familiar with Perl)
 
-use i3test;
+use i3test i3_autostart => 0;
 use List::Util qw(first);
 
+my $config = <<EOT;
+# i3 config file (v4)
+font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
+
+force_display_urgency_hint 0ms
+EOT
+my $pid = launch_with_config($config);
+
 my $tmp = fresh_workspace;
 
 #####################################################################
@@ -145,4 +153,6 @@ is($x->input_focus, $bottom->id, 'oldest urgent window focused');
 $bottom->delete_hint('urgency');
 sync_with_i3;
 
+exit_gracefully($pid);
+
 done_testing;