mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-18 20:15:14 +02:00
fix failing tests
This commit is contained in:
parent
7fe1abda8b
commit
b32dc7ac0b
5 changed files with 284 additions and 167 deletions
|
|
@ -15,6 +15,7 @@ mod common;
|
|||
mod go_fixture_tests {
|
||||
use crate::common::fixture_harness::FIXTURE_LOCK;
|
||||
use nyx_scanner::commands::scan::Diag;
|
||||
use nyx_scanner::dynamic::sandbox::SandboxBackend;
|
||||
use nyx_scanner::dynamic::verify::{VerifyOptions, verify_finding};
|
||||
use nyx_scanner::evidence::{
|
||||
Confidence, Evidence, FlowStep, FlowStepKind, InconclusiveReason, UnsupportedReason,
|
||||
|
|
@ -80,7 +81,8 @@ mod go_fixture_tests {
|
|||
}
|
||||
|
||||
let diag = make_diag(&path, func, cap, sink_line);
|
||||
let opts = VerifyOptions::default();
|
||||
let mut opts = VerifyOptions::default();
|
||||
opts.sandbox.backend = SandboxBackend::Process;
|
||||
let result = verify_finding(&diag, &opts);
|
||||
|
||||
unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue