Skip to content
Commit 08eee271 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
parent 2a1a29c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment