diff options
author | Stephen Warren <swarren@nvidia.com> | 2015-12-14 15:01:15 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-13 21:05:21 -0500 |
commit | 08eee2718aefea16d7a7e32e318ff03a1539e5c2 (patch) | |
tree | e16c07e46eecea64b148d4c624d5d414b39a9ec7 /common/env_attr.c | |
parent | 2a1a29c5e7a785d3efce2c74f0b27aca274ef482 (diff) | |
download | u-boot-imx-08eee2718aefea16d7a7e32e318ff03a1539e5c2.zip u-boot-imx-08eee2718aefea16d7a7e32e318ff03a1539e5c2.tar.gz u-boot-imx-08eee2718aefea16d7a7e32e318ff03a1539e5c2.tar.bz2 |
test/fs: error case fixes/enhancements
- Use "mkdir -p" to avoid errors when intermediate directories are
missing.
- Fall back to "dd" when "fallocate" fails. For example, fallocate isn't
supported on ext4.
- Add error checking for test image generation. Without this, the test
simply plows on spewing all kinds of errors which are hard to
immediately root-cause.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'common/env_attr.c')
0 files changed, 0 insertions, 0 deletions