fix longstanding bug where passing tests are always saved in nofork fuzzing
This commit is contained in:
parent
72688701b8
commit
f93c42ba13
@ -603,7 +603,9 @@ static int DeepState_RunTestNoFork(struct DeepState_TestInfo *test) {
|
||||
} else {
|
||||
DeepState_LogFormat(DeepState_LogTrace, "Passed: %s", test->test_name);
|
||||
if (HAS_FLAG_output_test_dir) {
|
||||
DeepState_SavePassingTest();
|
||||
if (!FLAGS_fuzz || FLAGS_fuzz_save_passing) {
|
||||
DeepState_SavePassingTest();
|
||||
}
|
||||
}
|
||||
return(DeepState_TestRunPass);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user