Disable network tests
authorXimin Luo <infinity0@debian.org>
Tue, 1 May 2018 07:32:05 +0000 (13:02 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Tue, 1 May 2018 07:32:05 +0000 (13:02 +0530)
Forwarded: TODO

Gbp-Pq: Name 2002_disable-net-tests.patch

tests/build-auth.rs
tests/generate-lockfile.rs
tests/net-config.rs
tests/test.rs

index 5420de7bca38d32b4631d5c3bf5035f31a4580ce..7a20de98f94b84b95215019bfdfac8afc693dccb 100644 (file)
@@ -14,7 +14,7 @@ use cargotest::support::{project, execs};
 use hamcrest::assert_that;
 
 // Test that HTTP auth is offered from `credential.helper`
-#[test]
+//#[test]
 fn http_auth_offered() {
     let server = TcpListener::bind("127.0.0.1:0").unwrap();
     let addr = server.local_addr().unwrap();
@@ -129,7 +129,7 @@ To learn more, run the command again with --verbose.
 }
 
 // Boy, sure would be nice to have a TLS implementation in rust!
-#[test]
+//#[test]
 fn https_something_happens() {
     let server = TcpListener::bind("127.0.0.1:0").unwrap();
     let addr = server.local_addr().unwrap();
@@ -180,7 +180,7 @@ Caused by:
 }
 
 // Boy, sure would be nice to have an SSH implementation in rust!
-#[test]
+//#[test]
 fn ssh_something_happens() {
     let server = TcpListener::bind("127.0.0.1:0").unwrap();
     let addr = server.local_addr().unwrap();
index 2a6459602a97f49bb633579995b7a69e272bd866..f277476e11e0581b350e678eb0989d78f2f81a40 100644 (file)
@@ -74,7 +74,6 @@ fn adding_and_removing_packages() {
     assert_eq!(lock1, lock4);
 }
 
-#[test]
 fn no_index_update() {
     use cargotest::ChannelChanger;
     let p = project("foo")
index aeaacafc7622baf6a90a557e37cc4834371a1c4d..14e7358199a3e1b4ceb1c1fd7e21001c88503e74 100644 (file)
@@ -4,7 +4,7 @@ extern crate hamcrest;
 use cargotest::support::{project, execs};
 use hamcrest::assert_that;
 
-#[test]
+//#[test]
 fn net_retry_loads_from_config() {
     let p = project("foo")
         .file("Cargo.toml", r#"
@@ -30,7 +30,7 @@ fn net_retry_loads_from_config() {
 (1 tries remaining): [..]"));
 }
 
-#[test]
+//#[test]
 fn net_retry_git_outputs_warning() {
     let p = project("foo")
         .file("Cargo.toml", r#"
index 2a454f043c4f6cff7da2282ae7499814ae3dd08e..3b3ade2d15d1c3b858edde25064a282988273ebf 100644 (file)
@@ -2264,7 +2264,7 @@ fn panic_abort_multiple() {
                 execs().with_status(0));
 }
 
-#[test]
+//#[test]
 fn pass_correct_cfgs_flags_to_rustdoc() {
     let p = project("foo")
         .file("Cargo.toml", r#"