public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: get return value in seek_sanity_test
@ 2012-10-21 11:39 wenqing.lz
  2012-10-21 12:08 ` Jie Liu
  0 siblings, 1 reply; 2+ messages in thread
From: wenqing.lz @ 2012-10-21 11:39 UTC (permalink / raw)
  To: xfs; +Cc: Zheng Liu

From: Zheng Liu <wenqing.lz@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@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

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-21 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-21 11:39 [PATCH] xfstests: get return value in seek_sanity_test wenqing.lz
2012-10-21 12:08 ` Jie Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox