{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vstest/issues/878","repository_url":"https://api.github.com/repos/Microsoft/vstest","labels_url":"https://api.github.com/repos/Microsoft/vstest/issues/878/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vstest/issues/878/comments","events_url":"https://api.github.com/repos/Microsoft/vstest/issues/878/events","html_url":"https://github.com/Microsoft/vstest/issues/878","id":237094408,"number":878,"title":"Corrupted path error after using `dotnet test -l trx -r some\\path\\`","user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars0.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"labels":[{"id":404205520,"url":"https://api.github.com/repos/Microsoft/vstest/labels/bug","name":"bug","color":"ee0701","default":true},{"id":450349970,"url":"https://api.github.com/repos/Microsoft/vstest/labels/exp:%20cli","name":"exp: cli","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"Faizan2304","id":19184362,"avatar_url":"https://avatars1.githubusercontent.com/u/19184362?v=3","gravatar_id":"","url":"https://api.github.com/users/Faizan2304","html_url":"https://github.com/Faizan2304","followers_url":"https://api.github.com/users/Faizan2304/followers","following_url":"https://api.github.com/users/Faizan2304/following{/other_user}","gists_url":"https://api.github.com/users/Faizan2304/gists{/gist_id}","starred_url":"https://api.github.com/users/Faizan2304/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Faizan2304/subscriptions","organizations_url":"https://api.github.com/users/Faizan2304/orgs","repos_url":"https://api.github.com/users/Faizan2304/repos","events_url":"https://api.github.com/users/Faizan2304/events{/privacy}","received_events_url":"https://api.github.com/users/Faizan2304/received_events","type":"User","site_admin":false},"assignees":[{"login":"Faizan2304","id":19184362,"avatar_url":"https://avatars1.githubusercontent.com/u/19184362?v=3","gravatar_id":"","url":"https://api.github.com/users/Faizan2304","html_url":"https://github.com/Faizan2304","followers_url":"https://api.github.com/users/Faizan2304/followers","following_url":"https://api.github.com/users/Faizan2304/following{/other_user}","gists_url":"https://api.github.com/users/Faizan2304/gists{/gist_id}","starred_url":"https://api.github.com/users/Faizan2304/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Faizan2304/subscriptions","organizations_url":"https://api.github.com/users/Faizan2304/orgs","repos_url":"https://api.github.com/users/Faizan2304/repos","events_url":"https://api.github.com/users/Faizan2304/events{/privacy}","received_events_url":"https://api.github.com/users/Faizan2304/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vstest/milestones/25","html_url":"https://github.com/Microsoft/vstest/milestone/25","labels_url":"https://api.github.com/repos/Microsoft/vstest/milestones/25/labels","id":2627473,"number":25,"title":"15.5 (Sprint 121)","description":"","creator":{"login":"codito","id":28766,"avatar_url":"https://avatars1.githubusercontent.com/u/28766?v=3","gravatar_id":"","url":"https://api.github.com/users/codito","html_url":"https://github.com/codito","followers_url":"https://api.github.com/users/codito/followers","following_url":"https://api.github.com/users/codito/following{/other_user}","gists_url":"https://api.github.com/users/codito/gists{/gist_id}","starred_url":"https://api.github.com/users/codito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codito/subscriptions","organizations_url":"https://api.github.com/users/codito/orgs","repos_url":"https://api.github.com/users/codito/repos","events_url":"https://api.github.com/users/codito/events{/privacy}","received_events_url":"https://api.github.com/users/codito/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2017-07-07T12:24:17Z","updated_at":"2017-07-12T08:53:53Z","due_on":"2017-07-28T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-06-20T05:11:26Z","updated_at":"2017-07-12T08:53:53Z","closed_at":"2017-07-12T08:53:52Z","body":"_From @AArnott on June 19, 2017 15:0_\n\n## Steps to reproduce\r\n\r\n    dotnet test -l trx -r ..\\..\\bin\\PCLCrypto.Tests.NETCore\\netcoreapp1.0\\\r\n\r\nNote that auto-completion in powershell automatically adds the trailing backslash to the directory name, which is what triggers the failing behavior. If I remove the trailing backslash, I get a correct test run.\r\n\r\n## Expected  behavior\r\n\r\nA successful test run.\r\n\r\n## Actual behavior\r\n\r\n```\r\nBuild started, please wait...\r\nBuild completed.\r\n\r\nTest run for C:\\git\\PCLCrypto\\bin\\PCLCrypto.Tests.NETCore\\netcoreapp1.0\\PCLCrypto.Tests.NETCore.dll(.NETCoreApp,Version=v1.0)\r\nMicrosoft (R) Test Execution Command Line Tool Version 15.0.0.0\r\nCopyright (c) Microsoft Corporation.  All rights reserved.\r\n\r\nThe path '..\\..\\bin\\PCLCrypto.Tests.NETCore\\netcoreapp1.0\" C:\\git\\PCLCrypto\\bin\\PCLCrypto.Tests.NETCore\\netcoreapp1.0\\PCLCrypto.Tests.NETCore.dll' specified in the 'ResultsDirectory' is invalid. Error: The given path's format is not supported.\r\n```\r\n\r\nNote the bizarre placement of double and single quotes in the error message. I'm pretty sure the trailing backslash in my command line argument that triggers the failure is being misinterpreted as an escape character by something during command line processing.\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\n.NET Command Line Tools (2.0.0-preview1-005842)\r\n\r\nProduct Information:\r\n Version:            2.0.0-preview1-005842\r\n Commit SHA-1 hash:  63832070dd\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.15063\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n Base Path:   C:\\Program Files\\dotnet\\sdk\\2.0.0-preview1-005842\\\r\n\r\nMicrosoft .NET Core Shared Framework Host\r\n\r\n  Version  : 2.0.0-preview1-002061-00\r\n  Build    : 2b70ec9c3b014af0c2a5f45de0e5b73a1ae51c09\r\n```\r\n\r\n\r\n\n\n_Copied from original issue: dotnet/cli#6929_"}}
{"actor":{"display_login":"Faizan2304"}}