[windows_kext] keep generated test data
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user