summaryrefslogtreecommitdiff
path: root/tests/profile.rs
diff options
context:
space:
mode:
authorHermes Agent <hermes@localhost>2026-08-12 00:02:26 +0000
committerHermes Agent <hermes@localhost>2026-08-12 00:02:26 +0000
commit25f39c857da591c665865b77483b79495caf5e00 (patch)
tree1e7dd7118fcd1978b13c8bd1aa6cb202bb72a32a /tests/profile.rs
parent1860cc5beb8df6e85d0f9690e5852709a534ebd7 (diff)
Replace legacy profile parser with typed image spec
Diffstat (limited to 'tests/profile.rs')
-rw-r--r--tests/profile.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/profile.rs b/tests/profile.rs
deleted file mode 100644
index 8fa0a24..0000000
--- a/tests/profile.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-use std::path::Path;
-
-use alt_controller_image::Profile;
-
-#[test]
-fn profile_expands_vendored_package_lists_and_discards_comments() {
- let profile = Profile::load(Path::new("profiles/alt-controller.profile"))
- .expect("target profile must parse");
-
- assert!(profile.packages.contains(&"fakeroot".to_owned()));
- assert!(profile.packages.contains(&"openssh-server".to_owned()));
- assert!(profile.packages.contains(&"systemd-sysvinit".to_owned()));
- assert!(profile.packages.contains(&"libiec61850".to_owned()));
- assert!(!profile.packages.iter().any(|entry| entry.starts_with('#')));
- assert!(profile.regex_packages.contains(&"^kernel-(image|modules-())-(rt)$".to_owned()));
-}