2014-04-18 20:14:22 +02:00
|
|
|
#!perl
|
|
|
|
# vim:ts=4:sw=4:expandtab
|
|
|
|
#
|
|
|
|
# Please read the following documents before working on tests:
|
2017-09-24 10:19:50 +02:00
|
|
|
# • https://build.i3wm.org/docs/testsuite.html
|
2014-04-18 20:14:22 +02:00
|
|
|
# (or docs/testsuite)
|
|
|
|
#
|
2017-09-24 10:19:50 +02:00
|
|
|
# • https://build.i3wm.org/docs/lib-i3test.html
|
2014-04-18 20:14:22 +02:00
|
|
|
# (alternatively: perldoc ./testcases/lib/i3test.pm)
|
|
|
|
#
|
2017-09-24 10:19:50 +02:00
|
|
|
# • https://build.i3wm.org/docs/ipc.html
|
2014-04-18 20:14:22 +02:00
|
|
|
# (or docs/ipc)
|
|
|
|
#
|
|
|
|
# • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
|
|
|
|
# (unless you are already familiar with Perl)
|
|
|
|
#
|
|
|
|
# Test that i3 does not crash when resizing a split container
|
|
|
|
# Ticket: #1220
|
|
|
|
# Bug still in: 4.7.2-128-g702906d
|
|
|
|
use i3test;
|
|
|
|
|
|
|
|
open_window;
|
|
|
|
open_window;
|
|
|
|
|
|
|
|
cmd 'split h';
|
|
|
|
|
|
|
|
open_window;
|
|
|
|
|
|
|
|
cmd 'focus parent, resize grow left';
|
|
|
|
|
|
|
|
does_i3_live;
|
|
|
|
|
|
|
|
done_testing;
|