Add a test for a second client connecting during a mirror

This commit is contained in:
Alex Young
2012-06-27 16:32:01 +01:00
parent cea9d97086
commit 137a764cc7
3 changed files with 46 additions and 4 deletions

View File

@@ -313,7 +313,9 @@ class FlexNBD
end
def kill
can_die(2)
# At this point, to a certain degree we don't care what the exit
# status is
can_die(1)
if @pid
begin
Process.kill("INT", @pid)