Skip to content

Commit

Permalink
update checking for core_pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
spinpx authored Sep 18, 2019
1 parent 26c6596 commit e343f04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fuzzer/src/check_dep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ fn check_crash_handling() {
let mut f = File::open(CORE_PATTERN_FILE).unwrap();
let mut buffer = String::new();
f.read_to_string(&mut buffer).unwrap();
if buffer.trim() != "core" {
// if buffer.trim() != "core" {
if buffer.starts_with('|') {
panic!(CHECK_CRASH_MSG);
}
}
Expand Down

0 comments on commit e343f04

Please sign in to comment.