2011-06-03 04:05:34 +04:00
|
|
|
#!perl
|
|
|
|
# vim:ts=4:sw=4:expandtab
|
|
|
|
#
|
2012-09-10 16:09:01 +04:00
|
|
|
# Please read the following documents before working on tests:
|
2017-09-24 11:19:50 +03:00
|
|
|
# • https://build.i3wm.org/docs/testsuite.html
|
2012-09-10 16:09:01 +04:00
|
|
|
# (or docs/testsuite)
|
|
|
|
#
|
2017-09-24 11:19:50 +03:00
|
|
|
# • https://build.i3wm.org/docs/lib-i3test.html
|
2012-09-10 16:09:01 +04:00
|
|
|
# (alternatively: perldoc ./testcases/lib/i3test.pm)
|
|
|
|
#
|
2017-09-24 11:19:50 +03:00
|
|
|
# • https://build.i3wm.org/docs/ipc.html
|
2012-09-10 16:09:01 +04:00
|
|
|
# (or docs/ipc)
|
|
|
|
#
|
2023-08-31 21:01:56 +03:00
|
|
|
# • https://i3wm.org/downloads/modern_perl_a4.pdf
|
2012-09-10 16:09:01 +04:00
|
|
|
# (unless you are already familiar with Perl)
|
|
|
|
#
|
2011-06-03 04:05:34 +04:00
|
|
|
# Verifies that i3 survives inplace restarts with fullscreen containers
|
|
|
|
#
|
|
|
|
use i3test;
|
|
|
|
|
|
|
|
fresh_workspace;
|
|
|
|
|
2011-11-22 03:47:32 +04:00
|
|
|
open_window;
|
|
|
|
open_window;
|
2011-06-03 04:05:34 +04:00
|
|
|
|
|
|
|
cmd 'layout stacking';
|
2011-11-23 15:57:13 +04:00
|
|
|
sync_with_i3;
|
2011-06-03 04:05:34 +04:00
|
|
|
|
|
|
|
cmd 'fullscreen';
|
2011-11-23 15:57:13 +04:00
|
|
|
sync_with_i3;
|
2011-06-03 04:05:34 +04:00
|
|
|
|
|
|
|
cmd 'restart';
|
|
|
|
|
|
|
|
does_i3_live;
|
|
|
|
|
|
|
|
done_testing;
|