Skip to content

Commit

Permalink
make sure to clear mutants
Browse files Browse the repository at this point in the history
  • Loading branch information
agroce committed Aug 25, 2024
1 parent b7cec6d commit 312eb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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; rm 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()
Expand Down

0 comments on commit 312eb18

Please sign in to comment.