]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/120-multiple-cmds.t
Bugfix: Also clear the command parser’s stack upon invalid commands (Thanks helgikrs)
[i3/i3] / testcases / t / 120-multiple-cmds.t
index 8cd17a8af43efea95dda5aa35e1d5846f58b6bc1..2d0ddcf440fd38bea138e7bf9533399a25c6f5cc 100644 (file)
@@ -54,4 +54,13 @@ ok(($unused ~~ @{get_workspace_names()}), 'workspace exists after moving');
 
 # TODO: need a non-invasive command before implementing a test which uses ','
 
+################################################################################
+# regression test: 10 invalid commands should not crash i3 (10 is the stack
+# depth)
+################################################################################
+
+cmd 'move gibberish' for (0 .. 10);
+
+does_i3_live;
+
 done_testing;