vendor/liburing/test/eeed8b54e0df.c in polyphony-0.98 vs vendor/liburing/test/eeed8b54e0df.c in polyphony-0.99
- old
+ new
@@ -100,16 +100,21 @@
if (ret) {
printf("Ring peek got %d\n", ret);
goto err;
}
+ ret = T_EXIT_PASS;
if (cqe->res != -EAGAIN && cqe->res != 4096) {
- printf("cqe error: %d\n", cqe->res);
- goto err;
+ if (cqe->res == -EOPNOTSUPP) {
+ ret = T_EXIT_SKIP;
+ } else {
+ printf("cqe error: %d\n", cqe->res);
+ goto err;
+ }
}
close(fd);
- return T_EXIT_PASS;
+ return ret;
err:
close(fd);
return T_EXIT_FAIL;
}