Whamcloud - gitweb
LU-1779 tests: fix run_one_logged() to log SKIP status
authorYu Jian <yujian@whamcloud.com>
Fri, 7 Sep 2012 02:58:35 +0000 (10:58 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 25 Oct 2012 20:25:33 +0000 (16:25 -0400)
commit92e847fd1412448f58c5bc31295559e3266f82e2
tree23178f7d186f559a05b306460f8ad9176388696c
parenta6940e04863dab1eeefc5280b41552e492455145
LU-1779 tests: fix run_one_logged() to log SKIP status

In the current test framework, only those tests which are in the
$ALWAYS_EXCEPT list are logged with SKIP status, other skipped
tests are all logged with PASS status.

This patch fixes the above issue by setting the SKIP status in
pass() and logging the status in run_one_logged().

Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I7d4e66982a04d8759e887d88d0e406da719c03bf
Reviewed-on: http://review.whamcloud.com/3899
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/tests/test-framework.sh