]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: use xfs_io falloc, not fallocate
authorEric Sandeen <sandeen@redhat.com>
Thu, 11 Dec 2014 23:55:24 +0000 (10:55 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 11 Dec 2014 23:55:24 +0000 (10:55 +1100)
commitca28228cd6151231e6f8ac6758f931368333626f
tree3bdfa8744b0ff73c5ce4cf3f807e05e51af4a4d9
parentc7aa9d3cb0481830131f7570a4619c411240a76b
generic: use xfs_io falloc, not fallocate

generic/315 fails messily if the fallocate command isn't present.

generic/299 also uses "fallocate" and "truncate" binaries which may
not be present.

Switch both to use xfs_io, and we already have the _require for
that, because it's what every other test uses...

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/299
tests/generic/315