From 7318014fb116192a9ca6b86c3606ddf7e3f3536a Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 15 May 2018 07:52:24 -0700 Subject: [PATCH] Fix tests when CARGO_TARGET_DIR is set. Fixes #5536 --- tests/testsuite/build_plan.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/testsuite/build_plan.rs b/tests/testsuite/build_plan.rs index d11eef122..87620aa77 100644 --- a/tests/testsuite/build_plan.rs +++ b/tests/testsuite/build_plan.rs @@ -23,7 +23,7 @@ fn cargo_build_plan_simple() { "invocations": [ { "args": "{...}", - "cwd": "[..][/]target[/]cit[/][..][/]foo", + "cwd": "[..][/]cit[/][..][/]foo", "deps": [], "env": "{...}", "kind": "Host", @@ -93,7 +93,7 @@ fn cargo_build_plan_single_dep() { "invocations": [ { "args": "{...}", - "cwd": "[..][/]target[/]cit[/][..][/]foo", + "cwd": "[..][/]cit[/][..][/]foo", "deps": [], "env": "{...}", "kind": "Host", @@ -108,7 +108,7 @@ fn cargo_build_plan_single_dep() { }, { "args": "{...}", - "cwd": "[..][/]target[/]cit[/][..][/]foo", + "cwd": "[..][/]cit[/][..][/]foo", "deps": [0], "env": "{...}", "kind": "Host", @@ -160,7 +160,7 @@ fn cargo_build_plan_build_script() { "invocations": [ { "args": "{...}", - "cwd": "[..][/]target[/]cit[/][..][/]foo", + "cwd": "[..][/]cit[/][..][/]foo", "deps": [], "env": "{...}", "kind": "Host", @@ -175,7 +175,7 @@ fn cargo_build_plan_build_script() { }, { "args": "{...}", - "cwd": "[..][/]target[/]cit[/][..][/]foo", + "cwd": "[..][/]cit[/][..][/]foo", "deps": [0], "env": "{...}", "kind": "Host", @@ -188,7 +188,7 @@ fn cargo_build_plan_build_script() { }, { "args": "{...}", - "cwd": "[..][/]target[/]cit[/][..][/]foo", + "cwd": "[..][/]cit[/][..][/]foo", "deps": [1], "env": "{...}", "kind": "Host", -- 2.30.2