diff --git a/pbs-client/src/tools/key_source.rs b/pbs-client/src/tools/key_source.rs index aeb99feb..6dade75e 100644 --- a/pbs-client/src/tools/key_source.rs +++ b/pbs-client/src/tools/key_source.rs @@ -362,7 +362,9 @@ pub fn get_encryption_key_password() -> Result, Error> { #[cfg(test)] fn create_testdir(name: &str) -> Result { - let mut testdir: PathBuf = String::from("./target/testout").into(); + // FIXME: + //let mut testdir: PathBuf = format!("{}/testout", env!("CARGO_TARGET_TMPDIR")).into(); + let mut testdir: PathBuf = "./target/testout".to_string().into(); testdir.push(std::module_path!()); testdir.push(name);