From 4f3cc36d4cbeb79634fbb03094fc7d0d538af9d5 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Thu, 25 Jan 2018 12:02:36 +0530 Subject: [PATCH] Fix the bad_git_dependency test failure. --- debian/patches/0001-fix_bad_git_dependency.patch | 16 ++++++++++++++++ debian/patches/series | 1 + 2 files changed, 17 insertions(+) create mode 100644 debian/patches/0001-fix_bad_git_dependency.patch diff --git a/debian/patches/0001-fix_bad_git_dependency.patch b/debian/patches/0001-fix_bad_git_dependency.patch new file mode 100644 index 000000000..f99cc4ea7 --- /dev/null +++ b/debian/patches/0001-fix_bad_git_dependency.patch @@ -0,0 +1,16 @@ +Description: Make error message bad_git_dependency test less strict +Author: Vasudev Kamath +Bug: https://github.com/rust-lang/cargo/issues/4908 +Last-Update: 2018-01-24 + +--- a/tests/bad-config.rs ++++ b/tests/bad-config.rs +@@ -389,7 +389,7 @@ + failed to clone into: [..] + + Caused by: +- [[..]] 'file:///' is not a valid local file URI ++ [..]'file:///' is not a valid local file URI[..] + ")); + } + diff --git a/debian/patches/series b/debian/patches/series index 7e0bb0a15..a5cb1ae6b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ 1002_fix_typo_cargo_search.patch 2005_dont_run_mdbook.patch 2006_disable_wasm32_tests.patch +0001-fix_bad_git_dependency.patch -- 2.30.2