xstat: print collection values in debug mode
authorMichael Meffie <mmeffie@sinenomine.net>
Mon, 13 Dec 2010 19:53:50 +0000 (14:53 -0500)
committerJeffrey Altman <jaltman@openafs.org>
Sat, 4 Jun 2011 18:10:59 +0000 (11:10 -0700)
commit13aeb1dcaee5ad4e95477464860963788c5d1469
tree44ca09bf0270ec13cc2b50b3d366f9e2823e75f9
parent7d76a5b4f9eb4c0ed9e09bbc3c54a4f1f8da1bdc
xstat: print collection values in debug mode

Print the values of the integers returned in the collection data
when the -debug option is given to xstat_fs_test and xstat_cm_test
test programs. This allows us to at least see what the unformatted
values are when there is a mismatch in timeval sizes between the
host and client (aka the 32/64 bit xstat bug). This change could
break scripts which call the xstat test programs with the debug
option. New debug output are prepended with 'debug:' to be
easily ignored.

Change-Id: I12d8d27306c50fb9f35ade2a080b3bc20542b63f
Reviewed-on: http://gerrit.openafs.org/2878
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/xstat/xstat_cm_test.c
src/xstat/xstat_fs_test.c