cargo/tests
Alex Crichton 18e593044d Replace existing sources before updating
Currently sources may acquire file locks to ensure that they're not tampered
with while they're in use. We may load two sources to the same location,
however, in the case of git repositories which need to be updated. Cargo will
first load a locked version of the source and then may load an unlocked version,
and these two loads currently deadlock.

This commit tweaks the logic when updating a source to only update it after the
previous source has been replaced.

Closes #2533
2016-03-30 10:39:24 -07:00
..
support Tweak UI for warnings and errors 2016-03-16 23:42:49 -07:00
check-style.sh Prepare for buildbot automation 2014-06-26 20:25:30 -07:00
resolve.rs tests: deny warnings 2016-02-05 12:07:11 +03:00
test_bad_config.rs Tweak UI for warnings and errors 2016-03-16 23:42:49 -07:00
test_bad_manifest_path.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_bench.rs Add a regression test for the issue being fixed 2016-03-03 16:55:56 -08:00
test_cargo_build_auth.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_build_lib.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_cfg.rs Fix caching features across backtracking 2016-03-16 14:20:52 -07:00
test_cargo_clean.rs Fix a number of bugs with cargo clean 2015-11-15 13:02:39 -08:00
test_cargo_compile.rs implemented cargo package name as CARGO_PKG_NAME; And package description and home page are exposed as CARGO_PKG_DESCRIPTION and CARGO_PKG_HOMEPAGE respectively. And add a test case - for CARGO_PKG_NAME, CARGO_PKR_DESCRIPTION, CARGO_HOMEPAGE. 2016-03-29 09:22:02 +05:30
test_cargo_compile_custom_build.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_compile_git_deps.rs Replace existing sources before updating 2016-03-30 10:39:24 -07:00
test_cargo_compile_path_deps.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_compile_plugins.rs Fix all tests with recent changes 2016-03-03 13:35:46 -08:00
test_cargo_compile_rustflags.rs Add rustflags support to config files 2016-03-16 17:32:00 +00:00
test_cargo_concurrent.rs Relax an assertion in the concurrent tests 2016-03-18 09:49:24 -07:00
test_cargo_config.rs Read configuration from environment variables 2016-02-19 00:18:13 -08:00
test_cargo_cross_compile.rs remove unused format argument 2016-03-15 10:35:52 -05:00
test_cargo_death.rs Use job objects on windows for ctrl-c to work 2016-02-11 11:49:45 -08:00
test_cargo_doc.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_features.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_fetch.rs Update rust and all deps 2014-12-19 20:55:17 -08:00
test_cargo_freshness.rs Add a regression test for the issue being fixed 2016-03-03 16:55:56 -08:00
test_cargo_generate_lockfile.rs Add a test for #2076, preservation of line endings style 2015-10-30 13:49:45 +02:00
test_cargo_init.rs Prevent the use of "test" as a crate name. Fixes #2432. 2016-03-22 09:45:48 +01:00
test_cargo_install.rs Tweak UI for warnings and errors 2016-03-16 23:42:49 -07:00
test_cargo_metadata.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_new.rs Prevent the use of "test" as a crate name. Fixes #2432. 2016-03-22 09:45:48 +01:00
test_cargo_package.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_profiles.rs Fix all tests with recent changes 2016-03-03 13:35:46 -08:00
test_cargo_publish.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_read_manifest.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_registry.rs Fix caching features across backtracking 2016-03-16 14:20:52 -07:00
test_cargo_run.rs Suggest the best matching target for cargo run 2016-03-14 13:26:29 -04:00
test_cargo_rustc.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_rustdoc.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_search.rs Allow multiple search query params 2016-03-08 19:18:08 +01:00
test_cargo_test.rs Remove color from the errors 2016-03-12 11:37:59 -08:00
test_cargo_tool_paths.rs Enables support for relative pathed linker and ar tools. 2015-07-27 09:45:01 +12:00
test_cargo_verify_project.rs Add tests for different arguments given to verify-project 2015-08-31 21:26:29 -04:00
test_cargo_version.rs Add a test for --version flag interception 2016-01-31 19:02:47 +03:00
test_shell.rs Update dependencies and Rust version 2016-01-25 09:33:51 -08:00
tests.rs Fix running Cargo concurrently 2016-03-16 22:14:26 -07:00