Test that a disconnect after the write request but before the data is an error

This commit is contained in:
Alex Young
2012-07-03 15:25:39 +01:00
parent a767d4bc8c
commit d16aebf36e
13 changed files with 52 additions and 11 deletions

View File

@@ -114,7 +114,7 @@ class Environment
raise "no addr" unless addr
raise "no port" unless port
@fake_pid = fork do
exec fake + " " + addr.to_s + " " + port.to_s
exec fake + " " + addr.to_s + " " + port.to_s + " " + @nbd1.pid.to_s
end
sleep(0.5)
end