diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 37a3348..cf23480 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -90,7 +90,7 @@ pub fn mk_valid_md(td: &mut TestDir) -> Result { write_xml(&xml, &mut gen)?; let _file = file_utils::create_sized_file(&md, 4096 * 4096); - cmd!("bin/thin_restore", "-i", xml, "-o", &md).run()?; + thin_restore!("-i", xml, "-o", &md).run()?; Ok(md) }