Searched refs:test_file (Results 1 – 4 of 4) sorted by relevance
77 let test_file = test_dir.path().join("test.txt"); in test_wait_for_file() localVariable85 rename(temp_file, test_file) in test_wait_for_file()88 let test_file = test_dir.path().join("test.txt"); in test_wait_for_file() localVariable89 let mut file = wait_for_file(test_file, Duration::from_secs(5))?; in test_wait_for_file()99 let test_file = test_dir.path().join("test.txt"); in test_wait_for_file_fails() localVariable100 let file = wait_for_file(test_file, Duration::from_secs(1)); in test_wait_for_file_fails()
212 let test_file = test_dir.path().join("test.img"); in unsigned_image_does_not_have_public_key() localVariable217 test_file.to_str().unwrap(), in unsigned_image_does_not_have_public_key()223 let vbmeta = VbMetaImage::verify_path(test_file).context("verify_path")?; in unsigned_image_does_not_have_public_key()230 let test_file = test_dir.path().join("test.img"); in signed_image_has_valid_vbmeta() localVariable235 test_file.to_str().unwrap(), in signed_image_has_valid_vbmeta()243 let vbmeta = VbMetaImage::verify_path(&test_file).context("verify_path")?; in signed_image_has_valid_vbmeta()264 .open(&test_file) in signed_image_has_valid_vbmeta()271 VbMetaImage::verify_path(test_file), in signed_image_has_valid_vbmeta()
208 let test_file = tempfile::NamedTempFile::new()?; in test_write_bcc_to_file_read_from_file() localVariable209 serde_cbor::to_writer(test_file.as_file(), &dice_artifacts)?; in test_write_bcc_to_file_read_from_file()210 test_file.as_file().sync_all()?; in test_write_bcc_to_file_read_from_file()212 let dice = DiceDriver::from_file(test_file.as_ref())?; in test_write_bcc_to_file_read_from_file()
103 * `--test_file=<file_name>`: Running only tests listed in `<file_name>`