Skip to content

Commit 3872529

Browse files
Haofeiclaude
andcommitted
Move hostile malformed corpus out of the differential corpus dir
tests/corpus/** is owned by the differential corpus harness (which evaluates each fixture VM-vs-compiled); the malformed inputs were being run as real fixtures and failing. Move them to tests/hostile-malformed/ and point the hostile suite there. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6d04322 commit 3872529

8 files changed

Lines changed: 1 addition & 1 deletion
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/hostile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use proptest::prelude::*;
1010
/// known fail-open gaps the fuzzer surfaced (still must not panic).
1111
#[test]
1212
fn malformed_corpus_never_panics_and_fails_closed() {
13-
let dir = std::path::Path::new("tests/corpus/malformed");
13+
let dir = std::path::Path::new("tests/hostile-malformed");
1414
let mut entries: Vec<_> = std::fs::read_dir(dir)
1515
.expect("malformed corpus dir exists")
1616
.filter_map(|e| e.ok().map(|e| e.path()))

0 commit comments

Comments
 (0)