generic/647: add _require_odirect
authorEric Wong <e@80x24.org>
Sat, 25 Dec 2021 00:36:50 +0000 (00:36 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sat, 25 Dec 2021 10:44:47 +0000 (18:44 +0800)
The mmap-rw-fault test program used by generic/647 uses O_DIRECT
unconditionally.

Signed-off-by: Eric Wong <e@80x24.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/647

index 2e7449757199d0634f5679d496f010d58a0a3b5e..fa6edadc9081be7c7eb618f1b23376175e40bac2 100755 (executable)
@@ -25,6 +25,7 @@ _cleanup()
 
 _supported_fs generic
 _require_test
+_require_odirect
 _require_test_program mmap-rw-fault
 
 echo "Silence is golden"