tests: virtio-9p: add attach operation test
commit5c3df1f0967e2166fff9c026ff1f616a89cab391
authorGreg Kurz <groug@kaod.org>
Tue, 3 Jan 2017 16:28:44 +0000 (3 17:28 +0100)
committerGreg Kurz <groug@kaod.org>
Tue, 3 Jan 2017 16:28:44 +0000 (3 17:28 +0100)
treee5e4c7348d416849c420ac548c4641404b557b2c
parent6cc9906b4c4a659841485ac483f608dea31dfa63
tests: virtio-9p: add attach operation test

The attach operation is used to establish a connection between the
client and the server. After this, the client is able to access the
underlying filesystem and do I/O.

This test simply ensures the operation succeeds without error.

Reference:

http://man.cat-v.org/plan_9/5/attach

Signed-off-by: Greg Kurz <groug@kaod.org>
tests/virtio-9p-test.c