aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/vsock/control.h
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-12-18 19:07:06 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-20 21:09:21 -0800
commit5a2b2425634dd8d340d3889f2317a752a1a87618 (patch)
tree3378d547e04b073903a9283e317347f6d46ce0f2 /tools/testing/vsock/control.h
parentvsock_test: wait for the remote to close the connection (diff)
downloadlinux-dev-5a2b2425634dd8d340d3889f2317a752a1a87618.tar.xz
linux-dev-5a2b2425634dd8d340d3889f2317a752a1a87618.zip
testing/vsock: add parameters to list and skip tests
Some tests can fail with transports that have a slightly different behavior, so let's add the possibility to specify which tests to skip. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/vsock/control.h')
-rw-r--r--tools/testing/vsock/control.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/vsock/control.h b/tools/testing/vsock/control.h
index dac3964a891d..51814b4f9ac1 100644
--- a/tools/testing/vsock/control.h
+++ b/tools/testing/vsock/control.h
@@ -10,5 +10,6 @@ void control_cleanup(void);
void control_writeln(const char *str);
char *control_readln(void);
void control_expectln(const char *str);
+bool control_cmpln(char *line, const char *str, bool fail);
#endif /* CONTROL_H */