[PATCH] xfstests: get return value in seek_sanity_test

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

 



From: Zheng Liu <wenqing.lz@xxxxxxxxxx>

In seek_sanity_test getting return value is missing.  Thus we couldn't get the
result unless someone read the log file (e.g. # 285).

Signed-off-by: Zheng Liu <wenqing.lz@xxxxxxxxxx>
---
 src/seek_sanity_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/seek_sanity_test.c b/src/seek_sanity_test.c
index 34f5508..e3ed64a 100644
--- a/src/seek_sanity_test.c
+++ b/src/seek_sanity_test.c
@@ -676,7 +676,7 @@ int main(int argc, char **argv)
 	for (i = 0; i < numtests; ++i) {
 		if (ret)
 			goto out;
-		run_test(&seek_tests[i]);
+		ret = run_test(&seek_tests[i]);
 	}
 
 out:
-- 
1.7.12.rc2.18.g61b472e

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux