File: 0020-disable-network-tests.patch

package info (click to toggle)
rustup 1.27.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,588 kB
  • sloc: sh: 856; python: 233; javascript: 183; makefile: 27
file content (31 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: rustup/tests/suite/cli_exact.rs
===================================================================
--- rustup.orig/tests/suite/cli_exact.rs
+++ rustup/tests/suite/cli_exact.rs
@@ -161,7 +161,7 @@ fn update_again() {
     });
 }
 
-#[test]
+#[allow(dead_code)]
 fn check_updates_none() {
     test(&|config| {
         config.with_scenario(Scenario::SimpleV2, &|config| {
@@ -179,7 +179,7 @@ nightly-{0} - Up to date : 1.3.0 (hash-n
     })
 }
 
-#[test]
+#[allow(dead_code)]
 fn check_updates_some() {
     test(&|config| {
         config.with_scenario(Scenario::ArchivesV2_2015_01_01, &|config| {
@@ -239,7 +239,7 @@ fn check_updates_self_no_change() {
     })
 }
 
-#[test]
+#[allow(dead_code)]
 fn check_updates_with_update() {
     test(&|config| {
         config.with_scenario(Scenario::ArchivesV2_2015_01_01, &|config| {