linux/fs/btrfs/tests
Naohiro Aota d5fac7ddb3 btrfs: tests: fix return 0 on rmap test failure
In test_rmap_blocks(), we have ret = 0 before checking the results. We need
to set it to -EINVAL, so that a mismatching result will return -EINVAL not
0.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
History 2026-01-09 17:41:48 +01:00
..
btrfs-tests.c btrfs: convert the buffer_radix to an xarray 2025-05-15 14:30:50 +02:00
btrfs-tests.h btrfs: selftests: add delayed ref self test cases 2025-01-13 14:53:13 +01:00
delayed-refs-tests.c btrfs: fix typos in comments and strings 2025-09-23 08:49:16 +02:00
extent-buffer-tests.c btrfs: abort transaction on generation mismatch when marking eb as dirty 2023-10-12 16:44:07 +02:00
extent-io-tests.c btrfs: apply the AUTO_K(V)FREE macros throughout the code 2025-11-24 22:34:51 +01:00
extent-map-tests.c btrfs: tests: fix return 0 on rmap test failure 2026-01-09 17:41:48 +01:00
free-space-tests.c btrfs: remove use btrfs_remove_free_space_cache instead of variant 2022-09-26 12:27:58 +02:00
free-space-tree-tests.c btrfs: add btrfs prefix to free space tree exported functions 2025-07-21 23:58:02 +02:00
inode-tests.c btrfs: remove btrfs_clear_extent_bits() 2025-07-22 00:09:22 +02:00
qgroup-tests.c btrfs: tests: fix root tree leak in btrfs_test_qgroups() 2026-01-09 17:41:45 +01:00
raid-stripe-tree-tests.c btrfs: selftests: add a selftest for deleting two out of three extents 2025-01-14 15:57:55 +01:00