diff --git a/tests/smoke.rs b/tests/smoke.rs index 9e6949d74..b156920a6 100644 --- a/tests/smoke.rs +++ b/tests/smoke.rs @@ -31,6 +31,9 @@ fn init() { fn exit(handle: &Handle) -> Command { let mut me = env::current_exe().unwrap(); me.pop(); + if me.ends_with("deps") { + me.pop(); + } me.push("exit"); Command::new(me, handle) }