| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Since the only ioctl being tested by file_ioctl test is FS_IOC_FIEMAP,
rename the test.
* tests/file_ioctl.c: Rename to tests/ioctl_fiemap.c
* tests/gen_tests.in (file_ioctl): Rename to ioctl_fiemap.
* tests/pure_executables.list (file_ioctl): Likewise.
* tests/.gitignore (file_ioctl): Likewise.
|
|
|
|
|
| |
Headers updated automatically using maint/update_copyright_years.sh
script.
|
|
|
|
|
|
|
|
|
|
| |
<linux/fiemap.h> and <linux/hiddev.h> used to require <linux/types.h>
to be included beforehand.
* file_ioctl.c [HAVE_LINUX_FIEMAP_H]: Include <linux/types.h>
before <linux/fiemap.h>.
* tests/file_ioctl.c: Likewise.
* tests/ioctl.c: Include <linux/types.h> before <linux/hiddev.h>.
|
|
|
|
|
|
| |
We do our best to keep copyright headers up to date, yet
git history provides better information on this subject
and is more accurate than copyright headers.
|
|
|
|
|
|
|
|
|
| |
Automatically convert tests to use TAIL_ALLOC_OBJECT_CONST_PTR macro
with the following sed expression:
sed -ri \
's/^([[:space:]]*)(([^*]+[[:alnum:]_])( \*)?) *\*( *const )?([^ =]+) = tail_alloc\(sizeof\((\2|\*\6)\)\);/\1TAIL_ALLOC_OBJECT_CONST_PTR(\2, \6);/' \
tests/*.c
|
|
|
|
|
|
|
|
|
| |
* tests/btrfs.c: New file.
* tests/btrfs.test: New test.
* tests/btrfs-v.test: Likewise.
* tests/.gitignore: Add btrfs.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add btrfs.test and btrfs-v.test.
|
|
|
|
| |
* tests/file_ioctl.c (main): Allocate struct fiemap using tail_alloc.
|
|
|
|
|
| |
* tests/file_ioctl.c: Include "tests.h" first.
Skip the test if [!HAVE_LINUX_FIEMAP_H].
|
|
This is limited to FIEMAP. FICLONE* and FIDEDUPERANGE originated in
btrfs and will be tested there.
* tests/file_ioctl.c: New file.
* tests/file_ioctl.test: New test.
* tests/.gitignore: Add file_ioctl.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add file_ioctl.test.
|