testcases: explicitly mark the (short) config files as v4

i3 won’t call i3-migrate-config and thus won’t add a call to i3bar this way.
It’s not necessary and can interfere with some tests sometimes.
next
Michael Stapelberg 2011-07-15 01:37:54 +02:00
parent e117a8a77f
commit feaa161d2c
4 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,7 @@ my $i3_path = abs_path("../i3");
#####################################################################
my ($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
close($fh);
@ -67,6 +68,7 @@ $socketpath = $tmpdir . "/config.sock";
ok(! -e $socketpath, "$socketpath does not exist yet");
($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket $socketpath";
close($fh);

View File

@ -42,6 +42,7 @@ sub set_wm_class {
#####################################################################
my ($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket /tmp/nestedcons";
close($fh);
@ -83,6 +84,7 @@ sleep 0.25;
#####################################################################
($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket /tmp/nestedcons";
say $fh q|assign "special" → targetws|;
@ -168,6 +170,7 @@ exit_gracefully($process->pid);
#####################################################################
($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket /tmp/nestedcons";
say $fh q|assign "special" → ~|;

View File

@ -23,6 +23,7 @@ my $i3_path = abs_path("../i3");
#####################################################################
my ($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket /tmp/nestedcons";
close($fh);
@ -54,6 +55,7 @@ exit_gracefully($process->pid);
#####################################################################
($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket /tmp/nestedcons";
say $fh "workspace_layout stacked";

View File

@ -21,6 +21,7 @@ my $i3_path = abs_path("../i3");
#####################################################################
my ($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket /tmp/nestedcons";
close($fh);
@ -66,6 +67,7 @@ exit_gracefully($process->pid);
#####################################################################
($fh, $tmpfile) = tempfile();
say $fh "# i3 config file (v4)";
say $fh "font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
say $fh "ipc-socket /tmp/nestedcons";
say $fh "force_focus_wrapping true";