File: test-sbin.diff

package info (click to toggle)
rust-pleaser 0.5.6-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 700 kB
  • sloc: makefile: 10
file content (31 lines) | stat: -rw-r--r-- 948 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
26
27
28
29
30
31
Description: e2fsck not available in sbuild
Origin: upstream
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: pleaser/tests/search_path.rs
===================================================================
--- pleaser.orig/tests/search_path.rs
+++ pleaser/tests/search_path.rs
@@ -134,7 +134,7 @@ search_path = /sbin
 [ed]
 name=ed
 target=root
-rule = .*/e2fsck
+rule = .*/usermod
 "
         .to_string();
 
@@ -145,11 +145,11 @@ rule = .*/e2fsck
 
         read_ini_config_str(&config, &mut vec_eo, &ro, false, &mut bytes, &mut ini_list);
 
-        basic_cmd(&mut ro, &"e2fsck".to_string());
+        basic_cmd(&mut ro, &"usermod".to_string());
         let c = can(&vec_eo, &mut ro);
         dbg!(&c);
         assert_eq!(c.permit(), true);
-        assert_eq!(ro.command, "/sbin/e2fsck");
+        assert_eq!(ro.command, "/sbin/usermod");
         assert_eq!(c.search_path, Some("/sbin".to_string()));
     }
 }