From 7eab7e9da1a41813c8194a028fcc381afcb36457 Mon Sep 17 00:00:00 2001 From: "wenqing.lz" Date: Sun, 21 Oct 2012 13:15:09 +0000 Subject: [PATCH] xfstests: get return value in seek_sanity_test 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 Reviewed-by: Mark Tinguely Reviewed-by: Jie Liu Signed-off-by: Mark Tinguely --- src/seek_sanity_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seek_sanity_test.c b/src/seek_sanity_test.c index 34f55089..3897f025 100644 --- a/src/seek_sanity_test.c +++ b/src/seek_sanity_test.c @@ -674,9 +674,9 @@ int main(int argc, char **argv) goto out; for (i = 0; i < numtests; ++i) { + ret = run_test(&seek_tests[i]); if (ret) - goto out; - run_test(&seek_tests[i]); + break; } out: -- 2.39.5