xfs
[Top] [All Lists]

[PATCH] xfstests: get return value in seek_sanity_test

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: get return value in seek_sanity_test
From: "wenqing.lz" <gnehzuil.liu@xxxxxxxxx>
Date: Sun, 21 Oct 2012 19:39:08 +0800
Cc: Zheng Liu <wenqing.lz@xxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=benbltDG/aFa+9v6pu8aMOT9jnjSLbZHvT5PhhdllS4=; b=mxCTLgIw1LBmBYHBuF67lCcddKEDC7cGo34Lf/VXQbPopT9W1S0MPoS/7ybtZFoYwE pMRnD0nkd0n75nJ7IQRH2T9yHrwJR8QDpf1ZfjtV2hgv3HNkNpb1hIjM1/NuW7s0EiA6 LLxd7gFQjvqppYqkbHOqbF1e2e0oLfJSjuTCbKEpTql/FrH0Ufka734xWnboE45cWqd8 RmxMX5Gzr46X2GtODTbWRhf6XNyjgay6+Ly5rWzoGZH80RxnbT4z74vUDPTSnZszrLyc h14f0/35GIEnMsMgsTbl6J5lxcmVEezn0g+GYQDHW8933olMcOI2BJ7xpau1g6hwXY/Q h2Eg==
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

<Prev in Thread] Current Thread [Next in Thread>