Testcase for #1607.

- crash in startup_sequence_rename_workspace because of NULL old_name
This commit is contained in:
Michael Hofmann 2015-03-30 08:22:03 +02:00
parent d6657cea36
commit 54dc87fb83

View File

@ -155,6 +155,11 @@ cmd "rename workspace temp to $first_ws";
is_num_children($first_ws, 3, 'three containers on the first workspace'); is_num_children($first_ws, 3, 'three containers on the first workspace');
# empty 'from' workspaces should not crash the renaming of startup sequences
cmd "workspace $first_ws";
cmd "rename workspace to temp";
cmd "rename workspace to $first_ws";
# Switch to the first workspace and move the focused window to the # Switch to the first workspace and move the focused window to the
# second workspace. # second workspace.
cmd "workspace $first_ws"; cmd "workspace $first_ws";