MCPcopy Create free account
hub / github.com/archlinux/alpm / validate_stdin

Function validate_stdin

alpm-srcinfo/tests/integration.rs:68–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67 /// Validate a valid SRCINFO file input from stdin
68 #[test]
69 fn validate_stdin() -> TestResult {
70 let mut cmd = cargo_bin_cmd!("alpm-srcinfo");
71 cmd.args(vec!["validate"]);
72 cmd.write_stdin(VALID_SRCINFO);
73
74 // Make sure the command was successful
75 cmd.assert().success();
76
77 Ok(())
78 }
79
80 /// Validate a valid SRCINFO file

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected