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:36 +0000 (10:30 -0400)
commitf54d536fe2c41b7ce5db7adbaf0e21c30276b5ca
tree95cc6b25f22ab359c82ef3b09c931da806082cfe
parentf6085c49dfb866934d4ba62b7e2a328102ed8a83
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