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 / si / inquisitor / test.om

550 lines · 17447 bytes Raw Blame History
1note si/inquisitor/test.om: comprehensive test suite for pure-Omega spark-inquisitor
2note Composed after si/directives/om2.om and si/inquisitor/lib.om.
3note Covers clean patch PASS, deterministic receipt check, WARN rules, and BLOCK negative controls.
4
5text t_pass_pre "PASS "
6text t_fail_pre "FAIL "
7text t_nl "\n"
8
9text t_c1 "clean_patch_pass_and_determinism"
10text t_c2 "block_protected_evidence_path"
11text t_c3 "block_protected_aien_path"
12text t_c4 "block_protected_gates_path"
13text t_c5 "block_secret_aws_key"
14text t_c6 "block_secret_ghp_and_pem"
15text t_c7 "block_env_file_diff_and_binary"
16text t_c8 "block_not_run_labelled_pass_inline"
17text t_c9 "block_not_run_labelled_pass_multiline"
18text t_c10 "block_dirty_tree_flags"
19text t_c11 "block_telemetry_and_negation_guard"
20text t_c12 "block_hard_stub_and_warn_soft_todo"
21text t_c13 "warn_unslop_dash_and_buzzword_flag_guard"
22text t_c14 "pass_removed_lines_only"
23text t_c15 "block_secret_in_self_exempt_paths_dra440"
24text t_c16 "block_multifile_unified_and_post_bin_patch"
25text t_c17 "block_long_ghp_and_long_env_path_no_trap"
26text t_c18 "block_in_hunk_plus3_secret_and_dra440"
27text t_c19 "block_in_hunk_plus3_self_exempt_smuggle"
28text t_c20 "block_in_hunk_minus3_then_plus3_smuggle"
29text t_c21 "block_protected_rename_move_and_diff_u_delete"
30text t_c22 "block_rename_and_copy_extended_headers"
31text t_c23 "block_diff_git_plus_mismatch_and_single_token"
32text t_c24 "block_binary_files_delete_and_space_in_path"
33text t_c25 "block_over_4200_byte_evidence_paths"
34text t_c26 "block_protected_tools_aien_test_path"
35text t_c27 "block_post_hunk_and_no_hunk_m3p3_smuggle"
36text t_c28 "block_post_body_rename_and_dev_null_skip"
37text t_c29 "block_quoted_and_ambiguous_diff_and_bin"
38text t_c30 "block_git_octal_escaped_protected_paths"
39text t_all_ok "INQUISITOR TESTS PASS (30/30)\n"
40text t_all_fail "INQUISITOR TESTS FAILED\n"
41
42text s_clean "diff --git a/src/math.om b/src/math.om\n+++ b/src/math.om\n+fn add_pair a ulong b ulong to ulong\n+ret add a b\n+end\n"
43text s_evid "diff --git a/evidence/seed.abc123.json b/evidence/seed.abc123.json\n+++ b/evidence/seed.abc123.json\n+{\"verdict\":\"PASS\"}\n"
44text s_aien "diff --git a/.aien/always b/.aien/always\n+++ b/.aien/always\n+OMEGA-SKIP\n"
45text s_gates "diff --git a/tests/gates/seed.gate b/tests/gates/seed.gate\n+++ b/tests/gates/seed.gate\n+cmd: true\n"
46text s_aws "diff --git a/src/config.om b/src/config.om\n+++ b/src/config.om\n+text k \"AKIA1234567890ABCDEF\"\n"
47text s_gh_pem "diff --git a/src/auth.om b/src/auth.om\n+++ b/src/auth.om\n+text t \"ghp_abcdefghijklmnopqrstuvwxyz0123456789\"\n+text p \"-----BEGIN RSA PRIVATE KEY-----\"\n"
48text s_env "diff --git a/.env b/.env\n+++ b/.env\n+SECRET_KEY=hunter2\nBinary files /dev/null and b/.env.local differ\n"
49text s_nr_inl "GATE: OMEGA-SILICON\nVERDICT: PASS (NOT_RUN)\n"
50text s_nr_ml "GATE: OMEGA-GB10\nTESTS_RUN: 0\nGATE_STATE: NOT_RUN\nVERDICT: PASS\n"
51text s_dirty "AUDIT_HEADER\nDIRTY_TREE: true\nGIT_STATUS: dirty\n"
52text s_telem "diff --git a/src/net.om b/src/net.om\n+++ b/src/net.om\n+note send_telemetry to google-analytics.com\n"
53text s_tel_ok "diff --git a/src/net.om b/src/net.om\n+++ b/src/net.om\n+note zero-telemetry sovereign transport\n"
54text s_stub_h "diff --git a/src/core.om b/src/core.om\n+++ b/src/core.om\n+note STUB_ONLY unimplemented!()\n"
55text s_todo_w "diff --git a/src/core.om b/src/core.om\n+++ b/src/core.om\n+note TODO: refine bound estimate\n"
56text s_buzz "diff --git a/src/doc.om b/src/doc.om\n+++ b/src/doc.om\n+note this is a game-changer\n"
57text s_flag_ok "diff --git a/src/cli.om b/src/cli.om\n+++ b/src/cli.om\n+note support --unleash and --elevate flags\n"
58text s_removed "diff --git a/src/old.om b/src/old.om\n+++ b/src/old.om\n-text k \"AKIA1234567890ABCDEF\"\n-note send_telemetry mixpanel\n+note removed old secrets\n"
59text s_dra440_inq "diff --git a/crates/spark-inquisitor/src/audit.rs b/crates/spark-inquisitor/src/audit.rs\n+++ b/crates/spark-inquisitor/src/audit.rs\n+let leaked = \"ghp_abcdefghijklmnopqrstuvwxyz0123456789\";\n"
60text s_dra440_con "diff --git a/src/constitution.rs b/src/constitution.rs\n+++ b/src/constitution.rs\n+const LEAK: &str = \"AKIA1234567890ABCDEF\";\n"
61text s_dra440_ok "diff --git a/crates/spark-inquisitor/src/audit.rs b/crates/spark-inquisitor/src/audit.rs\n+++ b/crates/spark-inquisitor/src/audit.rs\n+const PAT: &str = \"google-analytics\";\n"
62text s_mf_env "--- a/src/ok.om\t2026-11-18\n+++ b/src/ok.om\t2026-11-18\n+note ok\n--- a/.env\t2026-11-18\n+++ b/.env\t2026-11-18\n+FOO=bar\n"
63text s_bin_sec "diff --git a/foo.bin b/foo.bin\nGIT binary patch\nliteral 1\n\n--- a/src/auth.om\n+++ b/src/auth.om\n+text k \"AKIA1234567890ABCDEF\"\n"
64text s_ghp_pre "diff --git a/src/tok.om b/src/tok.om\n+ghp_"
65text s_env_pre "diff --git a/x b/"
66text s_env_suf ".env\n+X=1\n"
67text s_hunk_p3 "diff --git a/src/ok.om b/src/ok.om\n--- a/src/ok.om\n+++ b/src/ok.om\n@@ -1,1 +1,2 @@\n ok\n+++ AKIA1234567890ABCDEF\n"
68text s_hunk_p3_dra "diff --git a/crates/spark-inquisitor/src/audit.rs b/crates/spark-inquisitor/src/audit.rs\n--- a/crates/spark-inquisitor/src/audit.rs\n+++ b/crates/spark-inquisitor/src/audit.rs\n@@ -1,1 +1,2 @@\n ok\n+++ AKIA1234567890ABCDEF\n"
69text s_hunk_p3_ex "diff --git a/src/ok.om b/src/ok.om\n--- a/src/ok.om\n+++ b/src/ok.om\n@@ -1,1 +1,3 @@\n ok\n+++ spark-inquisitor\n+note send_telemetry to google-analytics.com\n"
70text s_hunk_m3p3_g "diff --git a/src/ok.om b/src/ok.om\n--- a/src/ok.om\n+++ b/src/ok.om\n@@ -1,1 +1,1 @@\n--- foo\n+++ AKIA1234567890ABCDEF\n"
71text s_hunk_m3p3_u "--- a/src/ok.om\n+++ b/src/ok.om\n@@ -1,1 +1,1 @@\n--- foo\n+++ AKIA1234567890ABCDEF\n"
72text s_mv_evid "diff --git a/evidence/foo.json b/src/foo.json\n--- a/evidence/foo.json\n+++ b/src/foo.json\n+note moved\n"
73text s_del_evid "--- a/evidence/r.json\n+++ /dev/null\n@@ -1,1 +0,0 @@\n-old\n"
74text s_ren_hdr "rename from evidence/a.json\nrename to src/a.json\n"
75text s_cpy_hdr "copy from evidence/a.json\ncopy to src/a.json\n"
76text s_mis_env "diff --git a/src/ok.om b/src/ok.om\n--- a/src/ok.om\n+++ b/.env\n+FOO=1\n"
77text s_sng_env "diff --git a/src/ok.om\n+++ b/.env\n+FOO=1\n"
78text s_bin_del "Binary files a/evidence/r.bin and /dev/null differ\n"
79text s_bin_spc "Binary files a/my dir/ok.bin and b/.env differ\n"
80text s_long_dg_a "diff --git a/evidence/"
81text s_long_dg_b "/x.json b/evidence/"
82text s_long_dg_c "/x.json\n+ok\n"
83text s_long_fl_a "FILE: evidence/"
84text s_long_fl_b "/x.json\n"
85text s_aien_test "diff --git a/tools/aien-test/foo.sh b/tools/aien-test/foo.sh\n--- a/tools/aien-test/foo.sh\n+++ b/tools/aien-test/foo.sh\n+echo hi\n"
86text s_smug_nohk "--- a/src/ok.om\n+++ b/src/ok.om\n+ok\n--- foo\n+++ AKIA1234567890ABCDEF\n"
87text s_smug_zero "--- a/src/ok.om\n+++ b/src/ok.om\n@@ -1,0 +1,0 @@\n--- foo\n+++ AKIA1234567890ABCDEF\n"
88text s_smug_bak "diff --git a/src/ok.om b/src/ok.om\n--- a/src/ok.om\n+++ b/src/ok.om\n@@ -1,1 +1,1 @@\n-old\n+new\n--- a/x\n+++ b/AKIA1234567890ABCDEF\n"
89text s_smug_idx "--- a/src/ok.om\nindex 1234567..89abcdef 100644\n+++ AKIA1234567890ABCDEF\n"
90text s_smug_dty "--- foo\n+++ DIRTY_TREE: true\n"
91text s_smug_ex "--- a/src/ok.om\n+++ b/src/ok.om\n+ok\n--- foo\n+++ spark-inquisitor\n+note send_telemetry to google-analytics.com\n"
92text s_post_ren "diff --git a/src/ok.om b/src/ok.om\n--- a/src/ok.om\n+++ b/src/ok.om\n@@ -1,1 +1,1 @@\n ok\nrename from evidence/a.json\nrename to src/a.json\n"
93text s_devn_skp "diff --git a/crates/spark-inquisitor/src/audit.rs b/crates/spark-inquisitor/src/audit.rs\n--- a/crates/spark-inquisitor/src/audit.rs\n+++ b/crates/spark-inquisitor/src/audit.rs\n@@ -1,1 +1,1 @@\n-old\n+new\n--- a/src/evil.om\n+++ /dev/null\n+note send_telemetry to google-analytics.com\n"
94text s_dg_spb "diff --git a/my b/dir/.env b/src/ok.om\n"
95text s_dg_qspb "diff --git \"a/my b/dir/.env\" \"b/src/ok.om\"\n"
96text s_bin_qand "Binary files \"a/my and dir/.env\" and \"b/src/ok.bin\" differ\n"
97text s_bin_andb "Binary files a/foo and b/bar/.env and b/src/ok.bin differ\n"
98text s_bin_npand "Binary files a/my and dir/.env and src/ok.bin differ\n"
99text s_oct_dg "diff --git \"a/\\145vidence/foo.json\" \"b/\\145vidence/foo.json\"\n"
100text s_oct_env "diff --git \"a/\\056env\" \"b/\\056env\"\n"
101text s_oct_bin "Binary files \"a/\\145vidence/r.bin\" and /dev/null differ\n"
102text s_oct_ren "rename from \"\\145vidence/a.json\"\n"
103text s_oct_fl "FILE: \"\\056env\"\n"
104text s_oct_p3 "--- a/src/ok.om\n+++ \"b/\\056env\"\n"
105
106text chk_v_pass "\"verdict\":\"PASS\""
107text chk_v_warn "\"verdict\":\"WARN\""
108text chk_v_block "\"verdict\":\"BLOCK\""
109text chk_fp "\"fingerprint\":\""
110
111global t_fails ulong 1
112global t_snap uchar 4096
113global t_snap_len ulong 1
114
115fn t_print s view uchar * to void
116k = write 1 s 0 len s
117if lt k 0
118exit 2
119end
120end
121
122fn t_report name view uchar * ok bool to void
123if ok
124t_print t_pass_pre
125else
126t_print t_fail_pre
127put t_fails 0 add get t_fails 0 1
128end
129t_print name
130t_print t_nl
131end
132
133fn t_out_contains pat view uchar * to bool
134olen = get inq_out_len 0
135pl = len pat
136if lt olen pl
137ret false
138end
139lim = add sub olen pl 1
140for i ulong lim bound 32768
141ok = true
142for j ulong pl bound 128
143if ne get inq_out add i j get pat j
144ok = false
145break
146end
147end
148if ok
149ret true
150end
151end
152ret false
153end
154
155fn run_case_clean to bool
156n1 = inq_load_text s_clean
157if eq n1 0
158ret false
159end
160v1 = inq_scan_input
161r1 = inq_format_receipt
162if ne v1 SEV_PASS
163ret false
164end
165if ne get inq_blocks 0 0
166ret false
167end
168if ne get inq_warns 0 0
169ret false
170end
171if not t_out_contains chk_v_pass
172ret false
173end
174if not t_out_contains chk_fp
175ret false
176end
177if gt r1 4096
178ret false
179end
180for i ulong r1 bound 4096
181put t_snap i get inq_out i
182end
183put t_snap_len 0 r1
184h1 = get inq_hash 0
185n2 = inq_load_text s_clean
186if ne n2 n1
187ret false
188end
189v2 = inq_scan_input
190r2 = inq_format_receipt
191if or ne v2 SEV_PASS ne r2 get t_snap_len 0
192ret false
193end
194if ne get inq_hash 0 h1
195ret false
196end
197for j ulong r2 bound 4096
198if ne get inq_out j get t_snap j
199ret false
200end
201end
202ret true
203end
204
205fn run_case_dash_and_buzz to bool
206n = inq_load_text s_buzz
207note Append an added line containing raw UTF-8 em-dash (0xe2 0x80 0x94)
208put inq_in n 43
209put inq_in add n 1 97
210put inq_in add n 2 226
211put inq_in add n 3 128
212put inq_in add n 4 148
213put inq_in add n 5 98
214put inq_in add n 6 10
215put inq_in_len 0 add n 7
216v = inq_scan_input
217r = inq_format_receipt
218if eq r 0
219ret false
220end
221if ne v SEV_WARN
222ret false
223end
224if ne get inq_blocks 0 0
225ret false
226end
227if lt get inq_rcnt RULE_UNSLOP_WARN 2
228ret false
229end
230if not t_out_contains chk_v_warn
231ret false
232end
233note Verify --unleash and --elevate CLI flags do not false-positive
234n2 = inq_load_text s_flag_ok
235if eq n2 0
236ret false
237end
238v2 = inq_scan_input
239ret eq v2 SEV_PASS
240end
241
242fn t_expect_rule src view uchar * want_v ulong rule ulong min_c ulong to bool
243n = inq_load_text src
244if eq n 0
245ret false
246end
247v = inq_scan_input
248if ne v want_v
249ret false
250end
251ret ge get inq_rcnt rule min_c
252end
253
254fn run_case_evid to bool
255n = inq_load_text s_evid
256if eq n 0
257ret false
258end
259v = inq_scan_input
260r = inq_format_receipt
261if or eq r 0 ne v SEV_BLOCK
262ret false
263end
264if lt get inq_rcnt RULE_PROTECTED_PATH 1
265ret false
266end
267ret t_out_contains chk_v_block
268end
269
270fn run_case_env to bool
271n = inq_load_text s_env
272if eq n 0
273ret false
274end
275v = inq_scan_input
276if ne v SEV_BLOCK
277ret false
278end
279if lt get inq_rcnt RULE_ENV_FILE 2
280ret false
281end
282ret ge get inq_rcnt RULE_SECRET 1
283end
284
285fn run_case_telem to bool
286if not t_expect_rule s_telem SEV_BLOCK RULE_TELEMETRY 1
287ret false
288end
289n = inq_load_text s_tel_ok
290if eq n 0
291ret false
292end
293v = inq_scan_input
294ret eq v SEV_PASS
295end
296
297fn run_case_stubs to bool
298if not t_expect_rule s_stub_h SEV_BLOCK RULE_STUB_HARD 1
299ret false
300end
301ret t_expect_rule s_todo_w SEV_WARN RULE_TODO_WARN 1
302end
303
304fn run_case_dra440 to bool
305n1 = inq_load_text s_dra440_inq
306if eq n1 0
307ret false
308end
309v1 = inq_scan_input
310r1 = inq_format_receipt
311if or eq r1 0 ne v1 SEV_BLOCK
312ret false
313end
314if lt get inq_rcnt RULE_SECRET 1
315ret false
316end
317if not t_out_contains chk_v_block
318ret false
319end
320if not t_expect_rule s_dra440_con SEV_BLOCK RULE_SECRET 1
321ret false
322end
323n3 = inq_load_text s_dra440_ok
324if eq n3 0
325ret false
326end
327v3 = inq_scan_input
328ret eq v3 SEV_PASS
329end
330
331fn run_case_mf_and_bin to bool
332if not t_expect_rule s_mf_env SEV_BLOCK RULE_ENV_FILE 1
333ret false
334end
335ret t_expect_rule s_bin_sec SEV_BLOCK RULE_SECRET 1
336end
337
338fn run_case_long_inputs to bool
339n = inq_load_text s_ghp_pre
340for i ulong 300
341put inq_in add n i 97
342end
343put inq_in add n 300 10
344put inq_in_len 0 add n 301
345v1 = inq_scan_input
346if or ne v1 SEV_BLOCK lt get inq_rcnt RULE_SECRET 1
347ret false
348end
349m = inq_load_text s_env_pre
350for j ulong 150
351put inq_in add m mul j 2 100
352put inq_in add m add mul j 2 1 47
353end
354pos = add m 300
355for k ulong len s_env_suf bound 32
356put inq_in add pos k get s_env_suf k
357end
358put inq_in_len 0 add pos len s_env_suf
359v2 = inq_scan_input
360if or ne v2 SEV_BLOCK lt get inq_rcnt RULE_ENV_FILE 1
361ret false
362end
363ret true
364end
365
366fn run_case_hunk_p3 to bool
367if not t_expect_rule s_hunk_p3 SEV_BLOCK RULE_SECRET 1
368ret false
369end
370ret t_expect_rule s_hunk_p3_dra SEV_BLOCK RULE_SECRET 1
371end
372
373fn run_case_hunk_m3p3 to bool
374if not t_expect_rule s_hunk_m3p3_g SEV_BLOCK RULE_SECRET 1
375ret false
376end
377ret t_expect_rule s_hunk_m3p3_u SEV_BLOCK RULE_SECRET 1
378end
379
380fn run_case_rename_del to bool
381if not t_expect_rule s_mv_evid SEV_BLOCK RULE_PROTECTED_PATH 1
382ret false
383end
384ret t_expect_rule s_del_evid SEV_BLOCK RULE_PROTECTED_PATH 1
385end
386
387fn run_case_ext_hdrs to bool
388if not t_expect_rule s_ren_hdr SEV_BLOCK RULE_PROTECTED_PATH 1
389ret false
390end
391ret t_expect_rule s_cpy_hdr SEV_BLOCK RULE_PROTECTED_PATH 1
392end
393
394fn run_case_mismatch_single to bool
395if not t_expect_rule s_mis_env SEV_BLOCK RULE_ENV_FILE 1
396ret false
397end
398ret t_expect_rule s_sng_env SEV_BLOCK RULE_ENV_FILE 1
399end
400
401fn run_case_bin_edge to bool
402if not t_expect_rule s_bin_del SEV_BLOCK RULE_PROTECTED_PATH 1
403ret false
404end
405ret t_expect_rule s_bin_spc SEV_BLOCK RULE_ENV_FILE 1
406end
407
408fn t_append_in pos ulong s view uchar * to ulong
409n = len s
410for i ulong n bound 128
411put inq_in add pos i get s i
412end
413ret add pos n
414end
415
416fn run_case_long_evid to bool
417p = ulong 0
418p = t_append_in p s_long_dg_a
419for i ulong 4200
420put inq_in add p i 97
421end
422p = add p 4200
423p = t_append_in p s_long_dg_b
424for j ulong 4200
425put inq_in add p j 97
426end
427p = add p 4200
428p = t_append_in p s_long_dg_c
429put inq_in_len 0 p
430v1 = inq_scan_input
431if or ne v1 SEV_BLOCK lt get inq_rcnt RULE_PROTECTED_PATH 1
432ret false
433end
434q = ulong 0
435q = t_append_in q s_long_fl_a
436for k ulong 4200
437put inq_in add q k 97
438end
439q = add q 4200
440q = t_append_in q s_long_fl_b
441put inq_in_len 0 q
442v2 = inq_scan_input
443if or ne v2 SEV_BLOCK lt get inq_rcnt RULE_PROTECTED_PATH 1
444ret false
445end
446ret true
447end
448
449fn run_case_smuggle_ext to bool
450if not t_expect_rule s_smug_nohk SEV_BLOCK RULE_SECRET 1
451ret false
452end
453if not t_expect_rule s_smug_zero SEV_BLOCK RULE_SECRET 1
454ret false
455end
456if not t_expect_rule s_smug_bak SEV_BLOCK RULE_SECRET 1
457ret false
458end
459if not t_expect_rule s_smug_idx SEV_BLOCK RULE_SECRET 1
460ret false
461end
462if not t_expect_rule s_smug_dty SEV_BLOCK RULE_DIRTY_TREE 1
463ret false
464end
465ret t_expect_rule s_smug_ex SEV_BLOCK RULE_TELEMETRY 1
466end
467
468fn run_case_post_ren_devn to bool
469if not t_expect_rule s_post_ren SEV_BLOCK RULE_PROTECTED_PATH 1
470ret false
471end
472ret t_expect_rule s_devn_skp SEV_BLOCK RULE_TELEMETRY 1
473end
474
475fn run_case_quoted_ambig to bool
476if not t_expect_rule s_dg_spb SEV_BLOCK RULE_ENV_FILE 1
477ret false
478end
479if not t_expect_rule s_dg_qspb SEV_BLOCK RULE_ENV_FILE 1
480ret false
481end
482if not t_expect_rule s_bin_qand SEV_BLOCK RULE_ENV_FILE 1
483ret false
484end
485if not t_expect_rule s_bin_andb SEV_BLOCK RULE_ENV_FILE 1
486ret false
487end
488ret t_expect_rule s_bin_npand SEV_BLOCK RULE_ENV_FILE 1
489end
490
491fn run_case_octal_paths to bool
492if not t_expect_rule s_oct_dg SEV_BLOCK RULE_PROTECTED_PATH 1
493ret false
494end
495if not t_expect_rule s_oct_env SEV_BLOCK RULE_ENV_FILE 1
496ret false
497end
498if not t_expect_rule s_oct_bin SEV_BLOCK RULE_PROTECTED_PATH 1
499ret false
500end
501if not t_expect_rule s_oct_ren SEV_BLOCK RULE_PROTECTED_PATH 1
502ret false
503end
504if not t_expect_rule s_oct_fl SEV_BLOCK RULE_ENV_FILE 1
505ret false
506end
507ret t_expect_rule s_oct_p3 SEV_BLOCK RULE_ENV_FILE 1
508end
509
510fn main to int
511put t_fails 0 0
512
513t_report t_c1 run_case_clean
514t_report t_c2 run_case_evid
515t_report t_c3 t_expect_rule s_aien SEV_BLOCK RULE_PROTECTED_PATH 1
516t_report t_c4 t_expect_rule s_gates SEV_BLOCK RULE_PROTECTED_PATH 1
517t_report t_c5 t_expect_rule s_aws SEV_BLOCK RULE_SECRET 1
518t_report t_c6 t_expect_rule s_gh_pem SEV_BLOCK RULE_SECRET 2
519t_report t_c7 run_case_env
520t_report t_c8 t_expect_rule s_nr_inl SEV_BLOCK RULE_FALSE_PASS 1
521t_report t_c9 t_expect_rule s_nr_ml SEV_BLOCK RULE_FALSE_PASS 1
522t_report t_c10 t_expect_rule s_dirty SEV_BLOCK RULE_DIRTY_TREE 2
523t_report t_c11 run_case_telem
524t_report t_c12 run_case_stubs
525t_report t_c13 run_case_dash_and_buzz
526t_report t_c14 t_expect_rule s_removed SEV_PASS RULE_SECRET 0
527t_report t_c15 run_case_dra440
528t_report t_c16 run_case_mf_and_bin
529t_report t_c17 run_case_long_inputs
530t_report t_c18 run_case_hunk_p3
531t_report t_c19 t_expect_rule s_hunk_p3_ex SEV_BLOCK RULE_TELEMETRY 1
532t_report t_c20 run_case_hunk_m3p3
533t_report t_c21 run_case_rename_del
534t_report t_c22 run_case_ext_hdrs
535t_report t_c23 run_case_mismatch_single
536t_report t_c24 run_case_bin_edge
537t_report t_c25 run_case_long_evid
538t_report t_c26 t_expect_rule s_aien_test SEV_BLOCK RULE_PROTECTED_PATH 1
539t_report t_c27 run_case_smuggle_ext
540t_report t_c28 run_case_post_ren_devn
541t_report t_c29 run_case_quoted_ambig
542t_report t_c30 run_case_octal_paths
543
544if eq get t_fails 0 0
545t_print t_all_ok
546ret 0
547end
548t_print t_all_fail
549ret 1
550end