use default size for blks if parsing df output fails to return numeric argument: This patch for rwtest.sh sets a default size for the number of blocks within the filesystem the test is executing on if parsing "df output" somehow results in a non-numeric value(unexpected df output). Also removes trailing whitespace. Garrett, I've attached the patch with your suggested changes. As for making default_sz 1000000, this was to keep to the original functionality, but fix cases where df output was not expected. If you see the original code, if sz > max, than it is capped at max=1000000 as well. Whether ~ 1GB is a good maximum, I'm not sure. Signed-off-by: Henry Yei <hyei@mvista.com>.
1 file changed