While investigating a failure in the data_space testcase, one of our
engineers noticed that there appears to be an incorrect value in the
failure message displayed.

In the dotest() function, the failure message:

    tst_resm(TFAIL, "\t%s[%d] bad verify @ %d (0x%x) for val %d
             count %d, should be 0.\n",
                prog, me, chunk, buf, val, count);

appears to be incorrect.  The expected value is "val - 1" not "0", so
the message should read:

   tst_resm(TFAIL, "\t%s[%d] bad verify @ %d (0x%x) for val %d
            count %d, should be 0x%x.\n",
                prog, me, chunk, buf, val, count, val - 1);

The format of the value was made to be hex in order to be compatible
with the values displayed by the dumpbuf() function (when DEBUG is defined).

The attached patch makes this change.  Please apply if acceptable.


Thank you,

d.marlin


Attachment: data_space-20070719.patch
Description: application/force-download

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to