Unified · Split
| @@ -10,7 +10,7 @@ fn dir(packed: bool, writable: bool) -> crate::Result<(PathBuf, Option<gix_testt · 9 unmodified lines | |||
| 10 | args.push("packed"); | 10 | args.push("packed"); |
| 11 | } | 11 | } |
| 12 | if writable { | 12 | if writable { |
| 13 | gix_testtools::scripted_fixture_writable_with_args_standalone(name, args, Creation::ExecuteScript) | 13 | gix_testtools::scripted_fixture_writable_with_args_standalone(name, args, Creation::Execute) |
| 14 | .map(|tmp| (tmp.path().to_owned(), tmp.into())) | 14 | .map(|tmp| (tmp.path().to_owned(), tmp.into())) |
| 15 | } else { | 15 | } else { |
| 16 | gix_testtools::scripted_fixture_read_only_with_args_standalone(name, args).map(|p| (p, None)) | 16 | gix_testtools::scripted_fixture_read_only_with_args_standalone(name, args).map(|p| (p, None)) |
| @@ -16,7 +16,7 @@ pub fn fixture_path_rw_slow(name: &str) -> gix_testtools::tempfile::TempDir { · 15 unmodified lines | |||
| 16 | let tmp = gix_testtools::scripted_fixture_writable_with_args_standalone_single_archive( | 16 | let tmp = gix_testtools::scripted_fixture_writable_with_args_standalone_single_archive( |
| 17 | std::path::Path::new(name).with_extension("sh"), | 17 | std::path::Path::new(name).with_extension("sh"), |
| 18 | None::<String>, | 18 | None::<String>, |
| 19 | Creation::ExecuteScript, | 19 | Creation::Execute, |
| 20 | ) | 20 | ) |
| 21 | .expect("script works"); | 21 | .expect("script works"); |
| 22 | tmp | 22 | tmp |
| @@ -40,7 +40,7 @@ mod update { · 39 unmodified lines | |||
| 40 | let dir = gix_testtools::scripted_fixture_writable_with_args_single_archive( | 40 | let dir = gix_testtools::scripted_fixture_writable_with_args_single_archive( |
| 41 | "make_fetch_repos.sh", | 41 | "make_fetch_repos.sh", |
| 42 | [base_repo_path()], | 42 | [base_repo_path()], |
| 43 | gix_testtools::Creation::ExecuteScript, | 43 | gix_testtools::Creation::Execute, |
| 44 | ) | 44 | ) |
| 45 | .unwrap(); | 45 | .unwrap(); |
| 46 | let repo = gix::open_opts(dir.path().join(name), restricted()).unwrap(); | 46 | let repo = gix::open_opts(dir.path().join(name), restricted()).unwrap(); |
| @@ -74,7 +74,7 @@ mod blocking_and_async_io { · 73 unmodified lines | |||
| 74 | }] | 74 | }] |
| 75 | .into_iter() | 75 | .into_iter() |
| 76 | .chain(args.into_iter().map(Into::into)), | 76 | .chain(args.into_iter().map(Into::into)), |
| 77 | gix_testtools::Creation::ExecuteScript, | 77 | gix_testtools::Creation::Execute, |
| 78 | ) | 78 | ) |
| 79 | .unwrap(); | 79 | .unwrap(); |
| 80 | let repo = gix::open_opts(dir.path().join(name), crate::restricted())?; | 80 | let repo = gix::open_opts(dir.path().join(name), crate::restricted())?; |