test-awful-client.lua: Wait for c:kill() to be done
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
30912c6f24
commit
a1b5782e90
|
@ -214,7 +214,12 @@ table.insert(multi_screen_steps, function()
|
||||||
for _, c in ipairs(client.get()) do
|
for _, c in ipairs(client.get()) do
|
||||||
c:kill()
|
c:kill()
|
||||||
end
|
end
|
||||||
|
if #client.get() == 0 then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
|
table.insert(multi_screen_steps, function()
|
||||||
for i=1, screen.count() do
|
for i=1, screen.count() do
|
||||||
local s = screen[i]
|
local s = screen[i]
|
||||||
test_client("screen"..i, nil, {
|
test_client("screen"..i, nil, {
|
||||||
|
@ -240,6 +245,16 @@ end
|
||||||
for _, c in ipairs(client.get()) do
|
for _, c in ipairs(client.get()) do
|
||||||
c:kill()
|
c:kill()
|
||||||
end
|
end
|
||||||
|
return true
|
||||||
|
end)
|
||||||
|
|
||||||
|
table.insert(multi_screen_steps, function()
|
||||||
|
if #client.get() == 0 then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
|
table.insert(multi_screen_steps, function()
|
||||||
|
|
||||||
if screen.count() < 2 then return true end
|
if screen.count() < 2 then return true end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue