summaryrefslogtreecommitdiffstats
path: root/ipc/tests
diff options
context:
space:
mode:
authorIgor Matuszewski <igor@sequoia-pgp.org>2020-10-25 00:33:00 +0200
committerIgor Matuszewski <igor@sequoia-pgp.org>2020-11-01 19:13:33 +0100
commitc392cc06db1fa132a5b3ddd380667bddb4e08012 (patch)
treee837948c4927e7a893f4748a7b8f289c9ad43750 /ipc/tests
parenta0da43702413524e4a8a37def96fea0645e10cd8 (diff)
ipc: Support GnuPG on Cygwin/MinGW
Diffstat (limited to 'ipc/tests')
-rw-r--r--ipc/tests/gpg-agent.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/tests/gpg-agent.rs b/ipc/tests/gpg-agent.rs
index 9fd4ed54..a2a6d286 100644
--- a/ipc/tests/gpg-agent.rs
+++ b/ipc/tests/gpg-agent.rs
@@ -69,7 +69,7 @@ fn gpg_import(ctx: &Context, what: &[u8]) {
let mut gpg = Command::new("gpg")
.stdin(Stdio::piped())
- .arg("--homedir").arg(ctx.directory("homedir").unwrap())
+ .arg("--homedir").arg(ctx.homedir().unwrap())
.arg("--import")
.spawn()
.expect("failed to start gpg");