Compare commits
1 Commits
b929ddcafe
...
d2e8078c70
| Author | SHA1 | Date | |
|---|---|---|---|
|
d2e8078c70
|
1
tests/profile/mockrepo/profiles/package.mask
Normal file
1
tests/profile/mockrepo/profiles/package.mask
Normal file
@@ -0,0 +1 @@
|
|||||||
|
app-editors/vim
|
||||||
@@ -8,6 +8,16 @@ fn main() {
|
|||||||
.nth(1)
|
.nth(1)
|
||||||
.expect("expected path to mockrepo as first argument");
|
.expect("expected path to mockrepo as first argument");
|
||||||
let repo = Repo::new(&repo_path).expect("failed to read repo");
|
let repo = Repo::new(&repo_path).expect("failed to read repo");
|
||||||
|
|
||||||
|
let global_package_mask = repo
|
||||||
|
.package_mask()
|
||||||
|
.iter()
|
||||||
|
.map(Atom::to_string)
|
||||||
|
.sorted()
|
||||||
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
|
assert_eq!(global_package_mask, vec!["app-editors/vim"]);
|
||||||
|
|
||||||
let profile = repo
|
let profile = repo
|
||||||
.evaluate_profile("gentoo-desktop")
|
.evaluate_profile("gentoo-desktop")
|
||||||
.expect("failed to evaluate profile");
|
.expect("failed to evaluate profile");
|
||||||
|
|||||||
Reference in New Issue
Block a user