| 95 | } |
| 96 | |
| 97 | pub(crate) fn test_bootc_install_config() -> Result<()> { |
| 98 | let sh = &xshell::Shell::new()?; |
| 99 | let config = cmd!(sh, "bootc install print-configuration").read()?; |
| 100 | let config: serde_json::Value = |
| 101 | serde_json::from_str(&config).context("Parsing install config")?; |
| 102 | // check that it parses okay, but also ensure kargs is not available here (only via --all) |
| 103 | assert!(config.get("kargs").is_none()); |
| 104 | Ok(()) |
| 105 | } |
| 106 | |
| 107 | pub(crate) fn test_bootc_install_config_all() -> Result<()> { |
| 108 | #[derive(Deserialize)] |