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.
This commit is contained in:
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

@ -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";