fsck: Include the commits that contain the corruption in errors
This makes it easier to figure out what the corruption affects. Closes: #1591 Approved by: cgwalters
This commit is contained in:
1 parent
0d53e5d309
commit
ef86abe228
2 files changed
+19
-5
No files matched your search
@@ -104,7 +104,7 @@ assert_not_has_file repo/state/${rev}.commitpartial
|
||||
if $OSTREE fsck -q 2>err.txt; then
|
||||
assert_not_reached "fsck unexpectedly succeeded"
|
||||
fi
|
||||
assert_file_has_content_literal err.txt "Object missing:"
|
||||
assert_file_has_content_literal err.txt "Object missing"
|
||||
assert_file_has_content_literal err.txt "Marking commit as partial: $rev"
|
||||
assert_has_file repo/state/${rev}.commitpartial
|
||||
|
||||
|
||||
Reference in new issue
Block a user