diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-05-15 13:54:19 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-05-15 16:29:55 +0200 |
commit | 36e2d97ac013e023feb27df939c3f6d6e32d8669 (patch) | |
tree | 5a2b376fd0e21614549f9aea38250512228c7073 /tool | |
parent | 0e655002843c2754f2e24773d8117499a8b30a54 (diff) |
tool: Fix test.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/tests/sq-sign.rs | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/tool/tests/sq-sign.rs b/tool/tests/sq-sign.rs index af499af3..378bb48d 100644 --- a/tool/tests/sq-sign.rs +++ b/tool/tests/sq-sign.rs @@ -373,7 +373,9 @@ fn sq_sign_detached() { // Verify detached. Assert::cargo_binary("sq") .with_args( - &["verify", + &["--home", + &tmp_dir.path().to_string_lossy(), + "verify", "--public-key-file", &p("keys/dennis-simon-anton.pgp"), "--detached", @@ -417,7 +419,9 @@ fn sq_sign_detached_append() { // Verify detached. Assert::cargo_binary("sq") .with_args( - &["verify", + &["--home", + &tmp_dir.path().to_string_lossy(), + "verify", "--public-key-file", &p("keys/dennis-simon-anton.pgp"), "--detached", @@ -476,7 +480,9 @@ fn sq_sign_detached_append() { // Verify both detached signatures. Assert::cargo_binary("sq") .with_args( - &["verify", + &["--home", + &tmp_dir.path().to_string_lossy(), + "verify", "--public-key-file", &p("keys/dennis-simon-anton.pgp"), "--detached", @@ -485,7 +491,9 @@ fn sq_sign_detached_append() { .unwrap(); Assert::cargo_binary("sq") .with_args( - &["verify", + &["--home", + &tmp_dir.path().to_string_lossy(), + "verify", "--public-key-file", &p("keys/erika-corinna-daniela-simone-antonia-nistp256.pgp"), "--detached", @@ -497,7 +505,9 @@ fn sq_sign_detached_append() { // goes wrong. Assert::cargo_binary("sq") .with_args( - &["sign", + &["--home", + &tmp_dir.path().to_string_lossy(), + "sign", "--detached", "--append", "--secret-key-file", |