From 5664660156b74eca0c4a34de13051e936948a515 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 19 Nov 2016 10:03:43 -0800 Subject: [PATCH] process: Fix tests on nightly --- tests/smoke.rs | 3 +++ 1 file changed, 3 insertions(+) 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) }