From 72d2b2c9bddf4df87b1ac3db7dfc5ec1e1ece10e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 3 Aug 2011 02:56:24 +0200 Subject: [PATCH] add testcase to check if i3 starts on the first named workspace (ticket #449) --- testcases/t/72-start-on-named-ws.t | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 testcases/t/72-start-on-named-ws.t 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; -- 2.39.5