diff --git a/test/test_basic.py b/test/test_basic.py index b2fd5b3..4c6090f 100644 --- a/test/test_basic.py +++ b/test/test_basic.py @@ -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()