gem5-bench-cache: fix removal of existing checkpoints

This commit is contained in:
Ciro Santilli
2018-04-06 02:12:48 +01:00
parent 6a745855d7
commit 4827ba037d

View File

@@ -66,7 +66,7 @@ bench-all() (
if "$generate_checkpoints"; then if "$generate_checkpoints"; then
# Create the checkpoints after the kernel boot. # Create the checkpoints after the kernel boot.
rm -rf "${m5out_dir}/cpt.*"; rm -rf "${m5out_dir}"/cpt.*;
printf 'm5 exit' >"${readfile_file}" printf 'm5 exit' >"${readfile_file}"
cpt_cmd="-E 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'" cpt_cmd="-E 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'"
# 1 # 1