Tidied up nbd init test

This commit is contained in:
Patrick J Cherry
2018-02-02 21:27:12 +00:00
parent 3410ccd4c5
commit 1b7b688f7a
3 changed files with 17 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ module ProxyTests
begin
result = client.read_hello
assert_equal "NBDMAGIC", result[:magic]
assert_equal "NBDMAGIC", result[:passwd]
assert_equal override_size || @env.file1.size, result[:size]
yield client