diff options
author | Oliver Chang <oliverchang@users.noreply.github.com> | 2020-04-06 11:28:46 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 11:28:46 +1000 |
commit | 1992503e5c6cbe51ffb04c3f42ba5456ec84d3ae (patch) | |
tree | ed605f9ebad1b4a5e98e75fca3c877ff79a4c97e /infra/bisector.py | |
parent | e587cc186880064ac4a41a546321228105ffd86b (diff) | |
download | oss-fuzz-1992503e5c6cbe51ffb04c3f42ba5456ec84d3ae.tar.gz |
Fix incorrect variable name in bisector.py (#3581)
Diffstat (limited to 'infra/bisector.py')
-rw-r--r-- | infra/bisector.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/infra/bisector.py b/infra/bisector.py index d1fd669fa..5eb1e776a 100644 --- a/infra/bisector.py +++ b/infra/bisector.py @@ -22,8 +22,8 @@ This is done with the following steps: Typical usage example: python3 infra/bisector.py - --commit_old 1e403e9259a1abedf108ab86f711ba52c907226d - --commit_new f79be4f2330f4b89ea2f42e1c44ca998c59a0c0f + --old_commit 1e403e9259a1abedf108ab86f711ba52c907226d + --new_commit f79be4f2330f4b89ea2f42e1c44ca998c59a0c0f --fuzz_target rules_fuzzer --project_name yara --testcase infra/yara_testcase @@ -78,10 +78,10 @@ def main(): error_sha = bisect(args.old_commit, args.new_commit, args.test_case_path, args.fuzz_target, build_data) if not error_sha: - logging.error('No error was found in commit range %s:%s', args.commit_old, - args.commit_new) + logging.error('No error was found in commit range %s:%s', args.old_commit, + args.new_commit) return 1 - if error_sha == args.commit_old: + if error_sha == args.old_commit: logging.error( 'Bisection Error: Both the first and the last commits in' 'the given range have the same behavior, bisection is not possible. ') |