[PATCH v2 5/6] generic/531: Check for O_TMPFILE
David Howells
dhowells at redhat.com
Mon Apr 24 07:10:41 PDT 2023
Make generic/531 check that the filesystem under test supports O_TMPFILE
before attempting to test it.
Signed-off-by: David Howells <dhowells at redhat.com>
cc: linux-afs at lists.infradead.org
---
tests/generic/531 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/generic/531 b/tests/generic/531
index 5e84ca97..e5f3dddd 100755
--- a/tests/generic/531
+++ b/tests/generic/531
@@ -20,6 +20,7 @@ testfile=$TEST_DIR/$seq.txt
# real QA test starts here
_supported_fs generic
_require_scratch
+_require_xfs_io_command "-T"
_require_test_program "t_open_tmpfiles"
_scratch_mkfs >> $seqres.full 2>&1
More information about the linux-afs
mailing list