aboutsummaryrefslogtreecommitdiff
path: root/infra/cifuzz/run_fuzzers.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/cifuzz/run_fuzzers.py')
-rw-r--r--infra/cifuzz/run_fuzzers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/cifuzz/run_fuzzers.py b/infra/cifuzz/run_fuzzers.py
index 419a5169f..d00109e3e 100644
--- a/infra/cifuzz/run_fuzzers.py
+++ b/infra/cifuzz/run_fuzzers.py
@@ -150,7 +150,8 @@ class BaseFuzzTargetRunner:
(target.target_name.encode(), result.stacktrace))
# TODO(metzman): Do this with filestore.
- testcase_artifact_path = self.get_fuzz_target_artifact(target, 'testcase')
+ testcase_artifact_path = self.get_fuzz_target_artifact(
+ target, os.path.basename(result.testcase))
shutil.move(result.testcase, testcase_artifact_path)
bug_summary_artifact_path = self.get_fuzz_target_artifact(
target, 'bug-summary.txt')