2 # vim:ts=4:sw=4:expandtab
4 # Tests if empty workspaces are closed when the last child
5 # exits, as long as they're not empty.
9 my $i3 = i3(get_socket_path());
11 # Get a workspace and open a container
12 my $ws = fresh_workspace;
13 my $con = open_empty_con($i3);
15 # Go to a second workspace, kill the container
17 cmd "[con_id=\"$con\"] kill";
19 # The first workspace should have been closed
20 ok(!workspace_exists($ws), 'workspace closed');