aboutsummaryrefslogtreecommitdiff
path: root/tests/os.nom
blob: 9b546ef991230a804bdc788d4c9153c229c45188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
    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.2 = "    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."