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

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