From: wenqing.lz Date: Sun, 21 Oct 2012 13:15:09 +0000 (+0000) Subject: xfstests: get return value in seek_sanity_test X-Git-Tag: v2022.05.01~3568 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7eab7e9da1a41813c8194a028fcc381afcb36457;p=xfstests-dev.git 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 --- 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: