#!/usr/bin/env nomsu -V2.5.4.3 # Tests for the stuff defined in lib/os.nom use "core" use "lib/os.nom" %lines = (lines in (read file "tests/os.nom")) assume (%lines.3 == " Tests for the stuff defined in lib/os.nom") %n = 0 for file %f in "core" (%n += 1) assume (%n > 0) or barf "Failed to walk the 'core' directory" say "OS test passed."