mbox series

[00/22] Self test cleanups, error handling fixes

Message ID cover.1552927639.git.dsterba@suse.com (mailing list archive)
Headers show
Series Self test cleanups, error handling fixes | expand

Message

David Sterba March 18, 2019, 4:50 p.m. UTC
Add missing error handling, unify test structure and error messages.

David Sterba (22):
  btrfs: tests: handle fs_info allocation failure in extent_io tests
  btrfs: tests: don't leak fs_info in extent_io bitmap tests
  btrfs: tests: print file:line for error messages
  btrfs: tests: add table of most common errors
  btrfs: tests: use standard error message after fs_info allocation
    failure
  btrfs: tests: use standard error message after root allocation failure
  btrfs: tests: use standard error message after extent buffer
    allocation failure
  btrfs: tests: use standard error message after path allocation failure
  btrfs: tests: use standard error message after inode allocation
    failure
  btrfs: tests: use standard error message after block group allocation
    failure
  btrfs: tests: properly initialize fs_info of extent buffer
  btrfs: tests: return errors from extent map tests
  btrfs: tests: return errors from extent map test case 1
  btrfs: tests: return errors from extent map test case 2
  btrfs: tests: return errors from extent map test case 3
  btrfs: tests: return errors from extent map test case 4
  btrfs: tests: return error from all extent map test cases
  btrfs: tests: use standard error message after extent map allocation
    failure
  btrfs: tests: use SZ_ constants everywhere
  btrfs: tests: fix comments about tested extent map ranges
  btrfs: tests: drop messages when some tests finish
  btrfs: tests: unify messages when tests start

 fs/btrfs/tests/btrfs-tests.c           |  10 ++
 fs/btrfs/tests/btrfs-tests.h           |  17 +-
 fs/btrfs/tests/extent-buffer-tests.c   |   8 +-
 fs/btrfs/tests/extent-io-tests.c       |  29 ++--
 fs/btrfs/tests/extent-map-tests.c      | 213 +++++++++++++++++--------
 fs/btrfs/tests/free-space-tests.c      |  11 +-
 fs/btrfs/tests/free-space-tree-tests.c |  10 +-
 fs/btrfs/tests/inode-tests.c           |  33 ++--
 fs/btrfs/tests/qgroup-tests.c          |  20 +--
 9 files changed, 237 insertions(+), 114 deletions(-)