nixpkgs/pkgs/tools/security/ripasso/fix-tests.patch
2021-06-19 19:03:21 +02:00

83 lines
1.8 KiB
Diff

--- a/src/pass/test.rs
+++ a/src/pass/test.rs
@@ -83,6 +83,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -114,6 +115,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -144,6 +146,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -185,6 +188,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -220,6 +224,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -267,6 +272,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -298,6 +304,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -337,6 +344,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -828,6 +836,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.push("testres");
let home: PathBuf = base_path.clone();
@@ -860,6 +869,7 @@
base_path.pop();
base_path.pop();
base_path.pop();
+ base_path.pop();
base_path.pop();
base_path.push("testres");