[patch] liburing: fix return code for test/hardlink.t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux