commit | 5bb66e37d668697092b467460e0ea151fefdd744 | [log] [tgz] |
---|---|---|
author | Andreas Dilger <andreas.dilger@intel.com> | Mon Apr 14 12:48:16 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Apr 14 13:51:24 2014 -0400 |
tree | b0b7d3f376a19ba5df9d769db89de8809bf7cdde | |
parent | d8f401b13568389ac0f67af0c653f153b5f0bd09 [diff] |
tests: fix resize test tmpfs max-file-size checking Old distros may not have the "truncate" tool, so use "dd" instead. If tmpfs cannot handle a 2GB temp file (e.g. old RHEL5 and SLES 11 kernels) then skip the test instead of failing it. If this fails, try to report better error messages instead of failing silently. Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>