'Attempt an ioctl, but translate permission denied errors into
L{SkipTest} so that tests that require elevated system privileges and
do not have them are skipped instead of failed.'

def ioctl(self, *args, **kwargs):

    try:
        return super(TestRealSystem, self).ioctl(*args, **kwargs)
    except IOError as e:
        if (EPERM == e.errno):
            raise SkipTest('Permission    to    configure    device    denied')
        raise
