public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jeff Moyer <[email protected]>
To: [email protected], [email protected]
Cc: [email protected]
Subject: [patch] liburing: fix return code for test/hardlink.t
Date: Fri, 26 Aug 2022 13:34:59 -0400	[thread overview]
Message-ID: <[email protected]> (raw)

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 <[email protected]>

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);


             reply	other threads:[~2022-08-26 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 17:34 Jeff Moyer [this message]
2022-08-26 18:42 ` [patch] liburing: fix return code for test/hardlink.t Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox