diff --git a/lib/spack/spack/test/cmd/ci.py b/lib/spack/spack/test/cmd/ci.py index 84e9e66bf05..62030e6bc9d 100644 --- a/lib/spack/spack/test/cmd/ci.py +++ b/lib/spack/spack/test/cmd/ci.py @@ -1210,7 +1210,7 @@ def test_push_mirror_contents( dl_dir = working_dir.join("download_dir") if not os.path.exists(dl_dir.strpath): os.makedirs(dl_dir.strpath) - buildcache_cmd("download", "--spec-file", json_path, "--path", dl_dir.strpath) + buildcache_cmd("download", "--spec", json_path, "--path", dl_dir.strpath) dl_dir_list = os.listdir(dl_dir.strpath) assert len(dl_dir_list) == 2