diff mbox series

liburing: fix return code for test/hardlink.t

Message ID x49fshiq56k.fsf@segfault.boston.devel.redhat.com (mailing list archive)
State New
Headers show
Series liburing: fix return code for test/hardlink.t | expand

Commit Message

Jeff Moyer Aug. 26, 2022, 5:34 p.m. UTC
Hi,

Commit a68c88a093719 ("tests: mark passing tests which exit early as
skipped") changed the return code for this test from success to skip for
the case where the test successfully runs to completion.  Fix it.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>

Comments

Jens Axboe Aug. 26, 2022, 6:42 p.m. UTC | #1
On Fri, 26 Aug 2022 13:34:59 -0400, Jeff Moyer wrote:
> Commit a68c88a093719 ("tests: mark passing tests which exit early as
> skipped") changed the return code for this test from success to skip for
> the case where the test successfully runs to completion.  Fix it.
> 
> 

Applied, thanks!

[1/1] liburing: fix return code for test/hardlink.t
      commit: 8af924d6d3ac6a92c4af1df847cf713e4d2b67e3

Best regards,
diff mbox series

Patch

diff --git a/test/hardlink.c b/test/hardlink.c
index 29395c3..aeb9ac6 100644
--- a/test/hardlink.c
+++ b/test/hardlink.c
@@ -124,7 +124,7 @@  int main(int argc, char *argv[])
 	unlinkat(AT_FDCWD, linkname, 0);
 	unlinkat(AT_FDCWD, target, 0);
 	io_uring_queue_exit(&ring);
-	return T_EXIT_SKIP;
+	return T_EXIT_PASS;
 skip:
 	unlinkat(AT_FDCWD, linkname, 0);
 	unlinkat(AT_FDCWD, target, 0);