----- Original Message ----- > ENOTSUP in userspace is alias for EOPNOTSUPP, so the test still fails. > Add definition of kernel's ENOTSUPP and use that. > > Signed-off-by: Jan Stancek <jstancek@redhat.com> I think I misread the original commit. Seems we want this to fail for ENOTSUPP.