Whamcloud - gitweb
LU-231 sanity_test_170: FAIL: expected 248 bad lines, but got 249
authorLai Siyao <laisiyao@whamcloud.com>
Tue, 10 May 2011 08:50:12 +0000 (01:50 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Wed, 11 May 2011 14:27:56 +0000 (07:27 -0700)
commit2ecce620a67478365c2d0c57ca580c32914c09fe
treee98aaf09a7de6941a2be726770d83f0ed1767603
parent8cf8ac002a32b872677b8d9064e35f8eda436a28
LU-231 sanity_test_170: FAIL: expected 248 bad lines, but got 249

if the length of malformed line is less than sizeof(struct ptldebug_header),
it's not counted into bad lines if this line is at the end of log file.

Signed-off-by: Lai Siyao <laisiyao@whamcloud.com>
Change-Id: Ib2cb1a81f2b8d00c855f11d232f7643e66cebeb0
Reviewed-on: http://review.whamcloud.com/526
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/tests/sanity.sh