[pbs-devel] [PATCH proxmox-backup 04/10] client: add test for keyfile_parameters

Dietmar Maurer dietmar at proxmox.com
Sat Feb 6 09:00:45 CET 2021


I would prefer another location for generated test files.
For tape backup tests, I now use:

./target/testout/<test_fn_name>


> +    let keypath = "./tests/keyfile.test";
> +    replace_file(&keypath, some_key.as_ref().unwrap(), CreateOptions::default())?;
> +    let invalid_keypath = "./tests/invalid_keyfile.test";
>





More information about the pbs-devel mailing list