[windows_kext] keep generated test data

This commit is contained in:
Vladimir Stoilov
2024-05-16 17:29:24 +03:00
parent 1c4df53152
commit 53d1d52c39
6 changed files with 6 additions and 22 deletions

View File

@@ -86,7 +86,7 @@ use std::panic;
#[test]
fn test_go_command_file() {
let mut file = File::open("../kextinterface/go_command_test.bin").unwrap();
let mut file = File::open("testdata/go_command_test.bin").unwrap();
loop {
let mut command: [u8; 1] = [0];
let bytes_count = file.read(&mut command).unwrap();

View File

@@ -425,7 +425,7 @@ use rand::seq::SliceRandom;
#[test]
fn generate_test_info_file() -> Result<(), std::io::Error> {
let mut file = File::create("rust_info_test.bin")?;
let mut file = File::create("../kextinterface/testdata/rust_info_test.bin")?;
let enums = [
InfoType::LogLine,
InfoType::ConnectionIpv4,