Test 517: avoid command chaining
Patch status: needinfo
Patch by Tony Crisci
Long description:
Command chaining seems to introduce concurrency problems with the test suite or the ipc that are not being tested in this case.
To apply this patch, use:
curl http://cr.i3wm.org/patch/478/raw.patch | git am
b/testcases/t/517-regress-move-direction-ipc.t
| 15 |
@@ -68,7 +68,8 @@ is(@{$event->{current}->{nodes}}, 1, 'focus event gave the right number of windo
|
| 16 |
|
| 17 |
# reset and try again |
| 18 |
$focus = AnyEvent->condvar; |
| 19 |
-cmd 'workspace ws-left; move right'; |
| 20 |
+cmd 'workspace ws-left'; |
| 21 |
+cmd 'move right'; |
| 22 |
$event = $focus->recv; |
| 23 |
ok($event, 'moving from workspace with one window triggered focus ipc event'); |
| 24 |
is($event->{current}->{name}, 'ws-right', 'focus event gave the right workspace');
|