mirror_zfs/tests/zfs-tests
José Luis Salvador Rufo a2593c1610 tests: fix S_IFMT undeclared at statx.c
`S_IFMT` is declared in `sys/stat.h`, but we cannot include this header
because it redeclares the `statx` function with different argument
types. Therefore, we define `S_IFMT` ourselves, in the same way as the
other definitions.

Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Closes #17293
Closes #17294
(cherry picked from commit 634c172ee8)
2025-05-28 16:00:28 -07:00
..
callbacks SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
cmd tests: fix S_IFMT undeclared at statx.c 2025-05-28 16:00:28 -07:00
include SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
tests ZTS: Stop zpool_status tests from spamming stdout (#17292) 2025-05-28 16:00:28 -07:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-02-25 22:28:14 +05:00