()
| 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<()> { |
nothing calls this directly
no test coverage detected