[thin_check] Add functional tests for --fix-metadata-leaks
This commit is contained in:
parent
1932c243dd
commit
80965944c6
@ -145,6 +145,11 @@
|
|||||||
(with-valid-metadata (md)
|
(with-valid-metadata (md)
|
||||||
(run-ok (thin-check "--clear-needs-check-flag" md))))
|
(run-ok (thin-check "--clear-needs-check-flag" md))))
|
||||||
|
|
||||||
|
(define-scenario (thin-check fix-metadata-leaks)
|
||||||
|
"Accepts --fix-metadata-leaks"
|
||||||
|
(with-valid-metadata (md)
|
||||||
|
(run-ok (thin-check "--fix-metadata-leaks" md))))
|
||||||
|
|
||||||
(define-scenario (thin-check tiny-metadata)
|
(define-scenario (thin-check tiny-metadata)
|
||||||
"Prints helpful message in case tiny metadata given"
|
"Prints helpful message in case tiny metadata given"
|
||||||
(with-temp-file-sized ((md "thin.bin" 1024))
|
(with-temp-file-sized ((md "thin.bin" 1024))
|
||||||
|
Loading…
Reference in New Issue
Block a user