Add generate_lock_file.rs to patch 2002
authorVasudev Kamath <vasudev@copyninja.info>
Sun, 15 Apr 2018 15:29:47 +0000 (20:59 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Sun, 15 Apr 2018 15:46:04 +0000 (21:16 +0530)
Disable no_index_update patch.

debian/patches/2002_disable-net-tests.patch

index 817cb924315348904946d33a719a5e9ad77b98cb..29c8b2b318b9ff1f6d01fc79b9b6892673903360 100644 (file)
@@ -54,7 +54,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
          .file("Cargo.toml", r#"
 --- a/tests/test.rs
 +++ b/tests/test.rs
-@@ -2260,7 +2260,7 @@
+@@ -2264,7 +2264,7 @@
                  execs().with_status(0));
  }
  
@@ -63,3 +63,13 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  fn pass_correct_cfgs_flags_to_rustdoc() {
      let p = project("foo")
          .file("Cargo.toml", r#"
+--- a/tests/generate-lockfile.rs
++++ b/tests/generate-lockfile.rs
+@@ -74,7 +74,6 @@
+     assert_eq!(lock1, lock4);
+ }
+-#[test]
+ fn no_index_update() {
+     use cargotest::ChannelChanger;
+     let p = project("foo")