summaryrefslogtreecommitdiffstats
path: root/debian/patches/2000-fix-test-stderr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/2000-fix-test-stderr.patch')
-rw-r--r--debian/patches/2000-fix-test-stderr.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/2000-fix-test-stderr.patch b/debian/patches/2000-fix-test-stderr.patch
new file mode 100644
index 0000000..add1ab7
--- /dev/null
+++ b/debian/patches/2000-fix-test-stderr.patch
@@ -0,0 +1,12 @@
+Index: cargo/tests/testsuite/build_script.rs
+===================================================================
+--- cargo.orig/tests/testsuite/build_script.rs
++++ cargo/tests/testsuite/build_script.rs
+@@ -33,6 +33,7 @@ fn custom_build_script_failed() {
+ .file("build.rs", "fn main() { std::process::exit(101); }")
+ .build();
+ p.cargo("build -v")
++ .env("RUST_BACKTRACE", "0")
+ .with_status(101)
+ .with_stderr(
+ "\