[functional-tests] Port thin_rmap tests to Rust.

cargo test
This commit is contained in:
Joe Thornber
2020-08-03 10:47:03 +01:00
parent ad29fe65fa
commit 9552cb4817
5 changed files with 110 additions and 68 deletions

View File

@@ -120,17 +120,3 @@ fn missing_nr_data_blocks() -> Result<()> {
assert!(stderr.contains("nr data blocks"));
Ok(())
}
// (define-scenario (thin-dump repair-superblock missing-data-block-size)
// "--data-block-size is mandatory if the superblock is damaged"
// (with-damaged-superblock (md)
// (run-fail-rcv (_ stderr) (thin-dump "--repair" "--transaction-id=5" "--nr-data-blocks=4096000" md)
// (assert-matches ".*data block size.*" stderr))))
//
// (define-scenario (thin-dump repair-superblock missing-nr-data-blocks)
// "--nr-data-blocks is mandatory if the superblock is damaged"
// (with-damaged-superblock (md)
// (run-fail-rcv (_ stderr) (thin-dump "--repair" "--transaction-id=5" "--data-block-size=128" md)
// (assert-matches ".*nr data blocks.*" stderr))))
//