Patrick J Cherry
2b58468800
Added test for FUA acceptance.
...
Although I think this might be a bit useless as servers normally just
ingore flags.
2018-02-03 20:29:15 +00:00
Patrick J Cherry
4d9db4d6e9
Added basic FLUSH test
2018-02-03 20:10:47 +00:00
Patrick J Cherry
9c48da82cc
Rubocop
2018-02-02 21:34:14 +00:00
Patrick J Cherry
1b7b688f7a
Tidied up nbd init test
2018-02-02 21:30:55 +00:00
James F. Carter
679fa6dbf8
force binary encoding in a ruby2.1-compatible way
2016-10-05 11:54:09 +01:00
James F. Carter
99a5f79a52
fixed typo
2016-10-05 10:30:44 +01:00
Patrick J Cherry
356e1fd6a1
Use a BINARY encoded string when doing read/write comparisons.
...
This is a bit of a cheat really, but `#read` returns an ASCII encoded
string, where as our ruby generates UTF-8 encoded strings, causing
assertion failures.
Fixes #20
2016-10-05 10:01:15 +01:00
nick
71036730c4
Fix a warning in a test
2013-09-23 10:17:50 +01:00
nick
0172eb1cba
flexnbd: Some comments and a minor fix in client.c to do with the event stream
2013-09-13 15:17:15 +01:00
nick
9b67d30608
serve: Make some error conditions non-fatal, test them.
...
We don't want flexnbd serve to fall over and die if the client sends an invalid request.
2013-02-15 16:51:28 +00:00