MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / parses_negative_sysctl_value

Function parses_negative_sysctl_value

src/executor/helpers/linux_sysctl.rs:97–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96 #[test]
97 fn parses_negative_sysctl_value() {
98 assert_eq!(
99 parse_sysctl_value("kernel.perf_event_paranoid = -1\n").unwrap(),
100 -1
101 );
102 }
103
104 #[test]
105 fn rejects_sysctl_output_without_value_separator() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected