Skip to main content

script

Function script 

Source
pub fn script(
    position: &Position,
    checks: &[&Resolved],
    r: &Render<'_>,
) -> String
Expand description

The sh runner for one position’s checks. It needs sh and either curl, wget or bash (plus nc or bash for TCP), prints a PASS or FAIL line per check, and exits 1 when any failed. Derived checks are skipped when ISOLOOM_DERIVED=0.