From 0a89130291e46ef1e4ef20e9eb802a31d5c5d8af Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 15 Apr 2018 20:59:47 +0530 Subject: [PATCH] Add generate_lock_file.rs to patch 2002 Disable no_index_update patch. --- debian/patches/2002_disable-net-tests.patch | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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") -- 2.30.2