From: Vasudev Kamath Date: Sun, 15 Apr 2018 15:29:47 +0000 (+0530) Subject: Add generate_lock_file.rs to patch 2002 X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~70 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0a89130291e46ef1e4ef20e9eb802a31d5c5d8af;p=cargo.git Add generate_lock_file.rs to patch 2002 Disable no_index_update patch. --- diff --git a/debian/patches/2002_disable-net-tests.patch b/debian/patches/2002_disable-net-tests.patch index 817cb9243..29c8b2b31 100644 --- a/debian/patches/2002_disable-net-tests.patch +++ b/debian/patches/2002_disable-net-tests.patch @@ -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")