[PATCH] xfstests: get return value in seek_sanity_test

wenqing.lz gnehzuil.liu at gmail.com
Sun Oct 21 06:39:08 CDT 2012


From: Zheng Liu <wenqing.lz at taobao.com>

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 at taobao.com>
---
 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



More information about the xfs mailing list