Skip to content

Commit

Permalink
quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
agroce committed Aug 25, 2024
1 parent 43aa76c commit 68895dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ def test_record_replay():
assert(r == 0)

with open("out1.txt", 'w') as f:
r = subprocess.call(["mkdir mutants; muttfuzz "./toy" toy --score --avoid_repeats --stop_on_repeat --repeat_retries 2000 --save_results analysis.csv --save_mutants mutants"], shell=True, stdout=f, stderr=f)
r = subprocess.call(["mkdir mutants; muttfuzz \"./toy\" toy --score --avoid_repeats --stop_on_repeat --repeat_retries 2000 --save_results analysis.csv --save_mutants mutants"], shell=True, stdout=f, stderr=f)
assert(r == 0)
with open("out1.txt", 'r') as f:
contents = f.read()
assert("FINAL MUTATION SCORE OVER 14 EXECUTED MUTANTS: 57.14%" in contents)

with open("out2.txt", 'w') as f:
r = subprocess.call(["muttfuzz "./toy" toy --score --avoid_repeats --stop_on_repeat --save_results s_analysis.csv --use_saved_mutants mutants"], shell=True, stdout=f, stderr=f)
r = subprocess.call(["muttfuzz \"./toy\" toy --score --avoid_repeats --stop_on_repeat --save_results s_analysis.csv --use_saved_mutants mutants"], shell=True, stdout=f, stderr=f)
assert(r == 0)
with open("out2.txt", 'r') as f:
contents = f.read()
Expand Down

0 comments on commit 68895dd

Please sign in to comment.