kernel/tools/testing/vsock/control.h
.. .. @@ -1,3 +1,4 @@ 1 +/* SPDX-License-Identifier: GPL-2.0-only */1 2 #ifndef CONTROL_H 2 3 #define CONTROL_H 3 4 .. .. @@ -9,5 +10,6 @@ 9 10 void control_writeln(const char *str); 10 11 char *control_readln(void); 11 12 void control_expectln(const char *str); 13 +bool control_cmpln(char *line, const char *str, bool fail);12 14 13 15 #endif /* CONTROL_H */