interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / host / prlimit / prlimit.cases

46 lines · 2537 bytes Raw Blame History
1# SPDX-License-Identifier: Apache-2.0
2# seed/host/prlimit/prlimit.cases: prlimit (keyword 235), run by the OM-2 conductor
3# (seed/qualification/om2/gate.om) from seed/host/check.sh. Expected: OM2GATE PASS cases=15.
4# fixture: seed/host/prlimit/prlimit.om (parent exit 0 = all 16 checks hold; see its notes), judged
5# against /proc/self/limits. x86-fixture: the same source for x86linux with "noas" (checks 1-12 and 16;
6# qemu-user ignores RLIMIT_AS writes), run through binfmt qemu-x86_64: emulator evidence, not
7# hardware qualification.
8# Each mutant compiler is built from seed/omc/omc.om with one prlimit emission changed; the fixture
9# built by it must fail at the named check (exit = check number), so the fixture detects the mutant.
10deadline 120
11fixture run seed/host/prlimit/prlimit.om - - - 0
12x86-fixture run seed/host/prlimit/x86-target.om+seed/host/prlimit/prlimit.om - - - 0 noas
13fnmode refuse seed/host/prlimit/fnmode.om 9
14contract refuse seed/host/prlimit/contract.om 30
15textarr refuse seed/host/prlimit/textarr.om 20
16longpid refuse seed/host/prlimit/longpid.om 7
17x86efi refuse seed/host/prlimit/efi-target.om+seed/host/prlimit/read16.om 25
18x86-fnmode refuse seed/host/prlimit/x86-target.om+seed/host/prlimit/fnmode.om 9
19subst seed/host/prlimit/mutants/a64-sysno.from seed/host/prlimit/mutants/a64-sysno.to
20cc seed/omc/omc.om
21mut-a64-sysno run seed/host/prlimit/prlimit.om - - - 1
22cc pinned
23subst seed/host/prlimit/mutants/a64-swap.from seed/host/prlimit/mutants/a64-swap.to
24cc seed/omc/omc.om
25mut-a64-swap run seed/host/prlimit/prlimit.om - - - 3
26cc pinned
27subst seed/host/prlimit/mutants/a64-nguard.from seed/host/prlimit/mutants/a64-nguard.to
28cc seed/omc/omc.om
29mut-a64-nguard run seed/host/prlimit/prlimit.om - - - 7
30cc pinned
31subst seed/host/prlimit/mutants/x86-sysno.from seed/host/prlimit/mutants/x86-sysno.to
32cc seed/omc/omc.om
33mut-x86-sysno run seed/host/prlimit/x86-target.om+seed/host/prlimit/prlimit.om - - - 1 noas
34cc pinned
35subst seed/host/prlimit/mutants/x86-swap.from seed/host/prlimit/mutants/x86-swap.to
36cc seed/omc/omc.om
37mut-x86-swap run seed/host/prlimit/x86-target.om+seed/host/prlimit/prlimit.om - - - 3 noas
38cc pinned
39subst seed/host/prlimit/mutants/x86-nguard.from seed/host/prlimit/mutants/x86-nguard.to
40cc seed/omc/omc.om
41mut-x86-nguard run seed/host/prlimit/x86-target.om+seed/host/prlimit/prlimit.om - - - 7 noas
42cc pinned
43subst seed/host/prlimit/mutants/a64-nooff.from seed/host/prlimit/mutants/a64-nooff.to
44cc seed/omc/omc.om
45mut-a64-nooff run seed/host/prlimit/prlimit.om - - - 16
46cc pinned