cargo/tests/testsuite
bors c1c4fc2e4c Auto merge of #5994 - zachlute:convert-file-uris, r=alexcrichton
Print file paths instead of file:// URLs.

Fixes #4661.

This change ensures cargo will output file paths in the expected format
(C:\foo\... on Windows, /foo/... elsewhere). Previously it would output
file:// URLs instead.

To support this change, additional changes were made to the test suite
string processing such that [ROOT] is now replaced with the appropriate
file path root for the platform.

The CWD template was also updated to use [CWD] like other replacement
templates and to do the replacement on the expected value rather than
the actual value to avoid replacing things we don't expect with CWD.
2018-09-11 05:11:40 +00:00
..
support Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
alt_registry.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
bad_config.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
bad_manifest_path.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
bench.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
build.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
build_auth.rs Drop the libgit2 User-Agent testing from http_auth_offered 2018-09-09 09:17:07 +01:00
build_lib.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
build_plan.rs Remove hamcrest existing_file() 2018-08-29 10:26:12 +02:00
build_script.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
build_script_env.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
cargo_alias_config.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
cargo_command.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
cargo_features.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
cfg.rs Update tests to new Updating msg format 2018-09-08 10:23:57 +01:00
check-style.sh Reorganize integration tests as one crate with many modules. Issue #4867. 2018-02-21 13:33:51 -05:00
check.rs Don't use an empty RUSTC_WRAPPER 2018-09-06 08:09:08 +01:00
clean.rs Remove hamcrest existing_file() 2018-08-29 10:26:12 +02:00
concurrent.rs Remove hamcrest has_installed_exe & is_not 2018-08-29 10:26:12 +02:00
config.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
corrupt_git.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
cross_compile.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
cross_publish.rs Resolve conflicts from upstream. 2018-09-09 16:59:48 -07:00
custom_target.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
death.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
dep_info.rs Remove hamcrest existing_file() 2018-08-29 10:26:12 +02:00
directory.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
doc.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
edition.rs Stabilize edition key and add cargo new --edition 2018-09-06 11:28:10 -07:00
features.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
fetch.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
fix.rs Auto merge of #5984 - alexcrichton:stabilize-edition, r=ehuss 2018-09-06 22:17:24 +00:00
freshness.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
generate_lockfile.rs Update tests to new Updating msg format 2018-09-08 10:23:57 +01:00
git.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
init.rs Change the default edition for cargo new to 2018 2018-09-06 17:01:20 -07:00
install.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
jobserver.rs Make Project::process return Execs 2018-08-28 22:38:26 +02:00
local_registry.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
lockfile_compat.rs Update tests to new Updating msg format 2018-09-08 10:23:57 +01:00
login.rs Remove hamcrest existing_file() 2018-08-29 10:26:12 +02:00
main.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
metabuild.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
metadata.rs Remove/reworksome redundant .cwd(p.root()) in tests 2018-09-06 01:12:53 +01:00
net_config.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
new.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
out_dir.rs Replace some bare ProcessBuilder usage with Execs 2018-08-28 23:05:39 +02:00
overrides.rs Resolve conflicts from upstream. 2018-09-09 16:59:48 -07:00
package.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
patch.rs Resolve conflicts from upstream. 2018-09-09 16:59:48 -07:00
path.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
plugins.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
proc_macro.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
profile_config.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
profile_overrides.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
profile_targets.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
profiles.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
publish.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
read_manifest.rs Remove/reworksome redundant .cwd(p.root()) in tests 2018-09-06 01:12:53 +01:00
registry.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
rename_deps.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
required_features.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
resolve.rs Remove hamcrest contains() 2018-08-29 07:42:03 +02:00
run.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
rustc.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
rustc_info_cache.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
rustdoc.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
rustdocflags.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
rustflags.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
search.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00
shell_quoting.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
small_fd_limits.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
test.rs Print file paths instead of file:// URLs. 2018-09-07 19:42:59 -07:00
tool_paths.rs Fixed CWD templates in tool_path tests. 2018-09-09 16:51:23 -07:00
update.rs Update tests to new Updating msg format 2018-09-08 10:23:57 +01:00
verify_project.rs Remove/reworksome redundant .cwd(p.root()) in tests 2018-09-06 01:12:53 +01:00
version.rs Migrate from tests fom assert_that/execs to .run() 2018-08-28 15:08:12 +02:00
warn_on_failure.rs Update tests to new Updating msg format 2018-09-08 10:23:57 +01:00
workspaces.rs Resolve merge conflicts with test string changes. 2018-09-09 16:48:57 -07:00