Evidence for the STATE report Sage checked and filed in 88f3253d9 (sage-1151). The skills-enabled
tar stays out of git; it is the W0b restore point under $WIN only. No credential or Environment
values: unit reads record ExecStart only, and the P3 credential files were fake placeholders.
13 lines
762 B
Python
13 lines
762 B
Python
import sys
|
|
src=open('/mnt/storage/src/mosaic-stack/agents/darkwing/work/window-merged-bc/snapshot.mjs').read()
|
|
muts={
|
|
'r1':("const bdb = o.backup === undefined ? null : immutable(o.backup, 'backup-unclean');","const bdb = o.backup === undefined ? null : new DatabaseSync(o.backup, { readOnly: true });"),
|
|
'r2':("const COUNTS_ONLY = new Set(['messages', 'message_threads']);","const COUNTS_ONLY = new Set([]);"),
|
|
'r3':(" if (badAt) refuse("," if (false) refuse("),
|
|
'r4':("WHERE type='table' AND name NOT LIKE 'sqlite\\\\_%' ESCAPE '\\\\' ORDER BY name","ORDER BY name"),
|
|
}
|
|
for k,(a,b) in muts.items():
|
|
assert src.count(a)==1,(k,a)
|
|
open(f'/home/jwoltje/darkwing-scratch/mbc/snaptest/mut/{k}.mjs','w').write(src.replace(a,b))
|
|
print('made',list(muts))
|