]> git.sur5r.net Git - i3/i3/blob - testcases/t/267-regress-mark-restart.t
302d23e5a5a36732922d331ce1fa67e23aae73d1
[i3/i3] / testcases / t / 267-regress-mark-restart.t
1 #!perl
2 # vim:ts=4:sw=4:expandtab
3 #
4 # Please read the following documents before working on tests:
5 # • http://build.i3wm.org/docs/testsuite.html
6 #   (or docs/testsuite)
7 #
8 # • http://build.i3wm.org/docs/lib-i3test.html
9 #   (alternatively: perldoc ./testcases/lib/i3test.pm)
10 #
11 # • http://build.i3wm.org/docs/ipc.html
12 #   (or docs/ipc)
13 #
14 # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
15 #   (unless you are already familiar with Perl)
16 #
17 # Regression test to check if mark and restart commands crash i3
18 #
19 use i3test;
20
21 cmd 'open';
22 cmd 'mark foo';
23 cmd 'open';
24 cmd 'mark bar';
25
26 cmd 'restart';
27
28 diag('Checking if i3 still lives');
29
30 does_i3_live;
31
32 done_testing;