From: Michael Hofmann Date: Mon, 30 Mar 2015 06:22:03 +0000 (+0200) Subject: Testcase for #1607. X-Git-Tag: 4.11~158^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=54dc87fb83bdfbc8d09bfab039cc0b5a72fa8f04;p=i3%2Fi3 Testcase for #1607. - crash in startup_sequence_rename_workspace because of NULL old_name --- diff --git a/testcases/t/175-startup-notification.t b/testcases/t/175-startup-notification.t index 4ca41799..b27bed53 100644 --- a/testcases/t/175-startup-notification.t +++ b/testcases/t/175-startup-notification.t @@ -155,6 +155,11 @@ cmd "rename workspace temp to $first_ws"; 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 # second workspace. cmd "workspace $first_ws";