Merged, Thanks!
With suggested @Petr feedback on tst_attach_device:
int tst_attach_device(const char *dev, const char *file)
{
...
if (strlen(file) >= LO_NAME_SIZE) {
tst_brkm(TBROK, NULL, "Device name can't be longer than %u chars",
LO_NAME_SIZE);
}
...
}
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com