test/register-restrictions: fix rings_not_disabled test
test/register-restrictions: fix rings_not_disabled test

Recently changes in io_uring uniformed the returned error (EBADFD)
when the ring state (enabled/disabled) is not the expected one.

Let's check that io_uring_register_restrictions() returns EBADFD
if the ring is not disabled.

Signed-off-by: Stefano Garzarella <6f3dd2004310421c0dda1107f4857e62a774d5df@redhat.com>

axboe/liburing,axboe/liburing,axboe/liburing