This appears to been missed from the previous attempt in 2007.
Fixes: fed194611785 ("xenstore: Remove broken and unmaintained test code")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
return false;
}
-#ifdef XSTEST
-#define read_all read_all_choice
-#define xs_write_all write_all_choice
-#else
/* Simple routine for writing to sockets, etc. */
bool xs_write_all(int fd, const void *data, unsigned int len)
{
return true;
}
-#endif
static int get_error(const char *errorstring)
{