blob: efc6e5603da5deba12afe00aa638a241ef28c098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env nomsu -V1
#
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."
|