hub 0.165.0 source: a household's mail list is never overwritten by a box default, a box reads it back (R-1199 reopened); host_swap_short only when swap is really short (R-1216, D28 = A); host-swap-rule gate with 4 decoys; 03/05/08 updated
gates / gates (push) Successful in 15m54s
gates / gates (push) Successful in 15m54s
This commit is contained in:
1 parent
a92837410a
commit
5ae5984cf9
18 files changed
+653
-24
No files matched your search
@@ -95,6 +95,10 @@ COVERS = {
|
||||
"script-tests": ("R-885: FIVE cases in scripts/test_script_tests_gate.py, run from here: a suite that PRINTS "
|
||||
"OK and exits 1 (label without fact), a failing suite three levels deep (scope is a walk), "
|
||||
"an empty scripts/ tree (checked nothing), the genuine article (must pass), the nested mark"),
|
||||
"host-swap-rule": ("R-1216: FOUR cases in scripts/test_host_swap_rule_gate.py, run from here: one verdict "
|
||||
"flipped on the controller side only (every case NAME still matches — name-for-fact), "
|
||||
"identical tables that no controller test reads any more (the label without the run), "
|
||||
"no controller clone (must be INCONCLUSIVE), and the genuine article (must pass)"),
|
||||
"guide-quote": ("R-596: SEVEN cases in scripts/test_guide_quote_gate.py, run from here so "
|
||||
"this suite stays the single entry point. The load-bearing one is "
|
||||
"name-for-fact: a guide that lists every key in a table and quotes none of "
|
||||
@@ -505,6 +509,15 @@ else:
|
||||
_n = _gq.stdout.strip().splitlines()[-1] if _gq.stdout.strip() else "?"
|
||||
print(" ok %-20s %s" % ("guide-quote", _n))
|
||||
|
||||
# ── host-swap-rule (R-1216) ── built fake workspaces, guide-quote's shape: its own file, run from here.
|
||||
ran += 1
|
||||
_hs = subprocess.run([sys.executable, os.path.join("scripts", "test_host_swap_rule_gate.py")],
|
||||
cwd=ROOT, capture_output=True, text=True)
|
||||
if _hs.returncode != 0:
|
||||
fails.append("host-swap-rule: its decoy suite FAILED — a decoy did not convict\n%s" % (_hs.stdout + _hs.stderr)[-800:])
|
||||
else:
|
||||
print(" ok %-20s %s" % ("host-swap-rule", (_hs.stdout.strip().splitlines() or ["?"])[-1]))
|
||||
|
||||
# ── iso-bootstrap (R-502) ────────────────────────────────────────────────────────────────────────
|
||||
#
|
||||
# Its decoys need a fake docker on a one-directory PATH, so they live in their own file and are RUN from
|
||||
|
||||
Reference in new issue
Block a user