aboutsummaryrefslogtreecommitdiff
path: root/testcases/t/292-regress-layout-toggle.t
blob: aae911f5aa415555c37ccf8f47ba66e2205af166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!perl
# vim:ts=4:sw=4:expandtab
#
# Please read the following documents before working on tests:
# • https://build.i3wm.org/docs/testsuite.html
#   (or docs/testsuite)
#
# • https://build.i3wm.org/docs/lib-i3test.html
#   (alternatively: perldoc ./testcases/lib/i3test.pm)
#
# • https://build.i3wm.org/docs/ipc.html
#   (or docs/ipc)
#
# • https://i3wm.org/downloads/modern_perl_a4.pdf
#   (unless you are already familiar with Perl)
#
# Regression test: verify layout toggle with invalid parameters does not set
# layout to L_DEFAULT, which crashes i3 upon the next IPC message.
# Ticket: #2903
# Bug still in: 4.14-87-g607e97e6
use i3test;

cmd 'layout toggle 1337 1337';

fresh_workspace;

does_i3_live;

done_testing;