diff mbox series

[liburing,4/6] tests: mention in a status message that this is a skip

Message ID 20220706034059.2817423-5-eschwartz93@gmail.com (mailing list archive)
State New
Headers show
Series More wor on updating exit codes to use | expand

Commit Message

Eli Schwartz July 6, 2022, 3:40 a.m. UTC
It didn't specify that it's an error, and ultimately either returned an
early 0 or, now, T_EXIT_SKIP. Clarify in the logging what it actually
is.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
---
 test/file-register.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/test/file-register.c b/test/file-register.c
index ae35c37..634ef81 100644
--- a/test/file-register.c
+++ b/test/file-register.c
@@ -306,7 +306,7 @@  static int test_sparse(struct io_uring *ring)
 	ret = io_uring_register_files(ring, files, 200);
 	if (ret) {
 		if (ret == -EBADF) {
-			fprintf(stdout, "Sparse files not supported\n");
+			fprintf(stdout, "Sparse files not supported, skipping\n");
 			no_update = 1;
 			goto done;
 		}