Whamcloud - gitweb
LU-3764 tests: Make calls to error_ignore not trigger FAIL 95/8395/2
authorJames Nunez <james.a.nunez@intel.com>
Thu, 26 Sep 2013 21:21:42 +0000 (15:21 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 30 Dec 2013 22:32:54 +0000 (17:32 -0500)
commit94166fec571a31043c818643b5fbf8a4710b46ac
tree30cbe23b2fa6b6c02e4c745f00bf4d1e700694d8
parentbc6a448b16f9fce72f384eca8ad423e5e4b5e991
LU-3764 tests: Make calls to error_ignore not trigger FAIL

Currently, error_ignore calls error_noexit with a status of IGNORE
and a message/comment. error_noexit writes the comment to
the $LOGDIR/err file. If there is an err file, the pass
routine assumes the test failed and reports the test status as FAIL.
So, for errors that should be ignored, we don't want to be
writing the comment out to the err file.

Now, any message with an "IGNORE" status is written to
$LOGDIR/ignore file and, thus, the test will no longer be
classified as FAIL and the error will really be ignored.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I30f5387105f6cbce54050682b16387f73ab541d6
Reviewed-on: http://review.whamcloud.com/7782
Reviewed-by: Minh Diep <minh.diep@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh