Whamcloud - gitweb
LU-1779 tests: fix run_one_logged() to log SKIP status
authorYu Jian <yujian@whamcloud.com>
Wed, 29 Aug 2012 08:59:29 +0000 (16:59 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Sep 2012 14:30:52 +0000 (10:30 -0400)
commit90de527f37c9ca5caaf664bf3a55346394706fdd
treebd9fd8df79717339df86935b49855d70311f7fee
parentb72dabdd3d59aba9ca72187ee8c55f8aa6fefc2d
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: Ia4e8f51040034abdec9c67aaf0a128b63baaa688
Reviewed-on: http://review.whamcloud.com/3810
Tested-by: Hudson
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/test-framework.sh