Skip to content

Commit

Permalink
btrfs-progs: add fsck-tests/067-log-csum-already-present
Browse files Browse the repository at this point in the history
Adds a test that btrfs check doesn't report an error because of a
missing csum entry in the log tree, if that csum is already in the
normal csum tree. See commit 6c7d2a3.

Signed-off-by: Mark Harmstone <maharmstone@fb.com>
  • Loading branch information
maharmstone committed Oct 24, 2024
1 parent 72e3986 commit 3bd0057
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file not shown.
14 changes: 14 additions & 0 deletions tests/fsck-tests/067-log-csum-already-present/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
#
# Verify that check doesn't report a missing log csum item if it's already
# in the main tree.

source "$TEST_TOP/common" || exit

check_prereq btrfs

check_image() {
run_check "$TOP/btrfs" check "$1"
}

check_all_images

0 comments on commit 3bd0057

Please sign in to comment.