MCPcopy Create free account
hub / github.com/bootc-dev/bootc / test_kargs

Function test_kargs

crates/lib/src/lints.rs:1032–1040  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1030
1031 #[test]
1032 fn test_kargs() -> Result<()> {
1033 let root = &fixture()?;
1034 let config = &LintExecutionConfig::default();
1035 check_parse_kargs(root, config).unwrap().unwrap();
1036 root.create_dir_all("usr/lib/bootc")?;
1037 root.write("usr/lib/bootc/kargs.d", "not a directory")?;
1038 assert!(check_parse_kargs(root, config).is_err());
1039 Ok(())
1040 }
1041
1042 #[test]
1043 fn test_usr_etc() -> Result<()> {

Callers

nothing calls this directly

Calls 2

check_parse_kargsFunction · 0.85
fixtureFunction · 0.70

Tested by

no test coverage detected