linux/fs/btrfs/tests
David Sterba 488f673023 btrfs: tests: return errors from extent map tests
The individual testcases for extent maps do not return an error on
allocation failures. This is not a big problem as the allocation don't
fail in general but there are functional tests handled with ASSERTS.
This makes tests dependent on them and it's not reliable.

This patch adds the allocation failure handling and allows for the
conversion of the asserts to proper error handling and reporting.

Signed-off-by: David Sterba <dsterba@suse.com>
2019-04-29 19:02:26 +02:00
..
btrfs-tests.c btrfs: tests: add table of most common errors 2019-04-29 19:02:25 +02:00
btrfs-tests.h btrfs: tests: add table of most common errors 2019-04-29 19:02:25 +02:00
extent-buffer-tests.c btrfs: tests: use standard error message after path allocation failure 2019-04-29 19:02:26 +02:00
extent-io-tests.c btrfs: tests: properly initialize fs_info of extent buffer 2019-04-29 19:02:26 +02:00
extent-map-tests.c btrfs: tests: return errors from extent map tests 2019-04-29 19:02:26 +02:00
free-space-tests.c btrfs: tests: use standard error message after block group allocation failure 2019-04-29 19:02:26 +02:00
free-space-tree-tests.c btrfs: tests: use standard error message after block group allocation failure 2019-04-29 19:02:26 +02:00
inode-tests.c btrfs: tests: use standard error message after inode allocation failure 2019-04-29 19:02:26 +02:00
qgroup-tests.c btrfs: tests: use standard error message after path allocation failure 2019-04-29 19:02:26 +02:00