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

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