mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 16:15:06 +07:00
0b02503384
This patch adds tests for the vsock_diag.ko module. These tests are not self-tests because they require manual set up of a KVM or VMware guest. Please see tools/testing/vsock/README for instructions. The control.h and timeout.h infrastructure can be used for additional AF_VSOCK tests in the future. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
14 lines
306 B
C
14 lines
306 B
C
#ifndef CONTROL_H
|
|
#define CONTROL_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
void control_init(const char *control_host, const char *control_port,
|
|
bool server);
|
|
void control_cleanup(void);
|
|
void control_writeln(const char *str);
|
|
char *control_readln(void);
|
|
void control_expectln(const char *str);
|
|
|
|
#endif /* CONTROL_H */
|