File: 0001-tests-Fail-if-git-version-fails.patch

package info (click to toggle)
rust-sequoia-git 0.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,580 kB
  • sloc: sh: 367; makefile: 32
file content (25 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From b700549f90b8fe478629aa5bfb41812068e99efd Mon Sep 17 00:00:00 2001
From: "Neal H. Walfield" <neal@sequoia-pgp.org>
Date: Tue, 1 Apr 2025 09:33:37 +0200
Subject: [PATCH 1/5] tests: Fail if git version fails.

---
 tests/common.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/common.rs b/tests/common.rs
index 87b7dcb..7904b79 100644
--- a/tests/common.rs
+++ b/tests/common.rs
@@ -282,7 +282,7 @@ impl Environment {
         e.import(&e.xander.cert)?;
         e.import(&e.riley.cert)?;
 
-        e.git(&["version"]);
+        e.git(&["version"])?;
 
         e.git(&["init", &e.git_state().display().to_string()])?;
         e.git(&["config", "--local", "user.email", "you@example.org"])?;
-- 
2.43.0