]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid false failure when O_DIRECT isn't supported
authorPádraig Brady <P@draigBrady.com>
Wed, 25 Oct 2017 02:54:16 +0000 (19:54 -0700)
committerPádraig Brady <P@draigBrady.com>
Wed, 25 Oct 2017 03:08:05 +0000 (20:08 -0700)
commite818f19cf8c88ce4499342bb525c7174a0345552
tree5f75afe6d0d736d230392be7016be6f9ef6be39e
parentde15a497d1f453b93af73a3ae4b6f3ab86532fde
tests: avoid false failure when O_DIRECT isn't supported

* tests/dd/nocache_eof.sh: Only run the O_DIRECT tests
when 512 byte alignment is supported.  Otherwise with older
XFS on systems with > 1MiB pages, or on file systems not
supporting O_DIRECT, there would have been false failures.
* tests/dd/direct.sh: Clarify the skip message.
tests/dd/direct.sh
tests/dd/nocache_eof.sh