From: Michael Stapelberg Date: Wed, 3 Aug 2011 00:56:24 +0000 (+0200) Subject: add testcase to check if i3 starts on the first named workspace (ticket #449) X-Git-Tag: 4.0.2~66^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72d2b2c9bddf4df87b1ac3db7dfc5ec1e1ece10e;p=i3%2Fi3 add testcase to check if i3 starts on the first named workspace (ticket #449) --- diff --git a/testcases/t/72-start-on-named-ws.t b/testcases/t/72-start-on-named-ws.t new file mode 100644 index 00000000..3ba8bb68 --- /dev/null +++ b/testcases/t/72-start-on-named-ws.t @@ -0,0 +1,48 @@ +#!perl +# vim:ts=4:sw=4:expandtab +# !NO_I3_INSTANCE! will prevent complete-run.pl from starting i3 +# +# checks if i3 starts up on workspace '1' or the first configured named workspace +# +use X11::XCB qw(:all); +use X11::XCB::Connection; +use i3test; + +my $x = X11::XCB::Connection->new; + +############################################################## +# 1: i3 should start with workspace '1' +############################################################## + +my $config = <pid); + +############################################################## +# 2: with named workspaces, i3 should start on the first named one +############################################################## + + +my $config = <pid); + +done_testing;