Files
felhom.eu/documentation/audits/kept-offsite-2026-09-28/redproofs/RP1.txt
T
2026-09-28 10:37:42 +02:00

32 lines
1.9 KiB
Plaintext

# RP1 — KeptBestCopy returns KeptDBCopy alone (0.276.0's choice: the off-site copy is never looked at)
189,191c189
< local, lok := m.KeptDBCopy(app, drive)
< off, ook := m.KeptOffsiteCopy(ctx, app)
< return KeptNewer(local, lok, off, ook)
---
> return m.KeptDBCopy(app, drive) // RED-PROOF RP1
=== RUN TestR691_OffsiteCopyIsOfferedWhenItIsTheOnlyOrNewest
r691_kept_offsite_test.go:114: only off-site copy: got {UnitDir: Tier:0 Time:0001-01-01 00:00:00 +0000 UTC DriveLabel: SnapshotID: UnitPath:} ok=false, want the off-site snapshot ab12cd34
--- FAIL: TestR691_OffsiteCopyIsOfferedWhenItIsTheOnlyOrNewest (0.00s)
=== RUN TestR691_OffsiteLoadDownloadsJudgesThenRestores
r691_kept_offsite_test.go:162: no off-site copy offered
--- FAIL: TestR691_OffsiteLoadDownloadsJudgesThenRestores (0.00s)
=== RUN TestR691_OffsiteLoadRefusalsLeaveTheKeptFilesAlone
=== RUN TestR691_OffsiteLoadRefusalsLeaveTheKeptFilesAlone/data_version_not_recorded
r691_kept_offsite_test.go:210: no off-site copy offered
=== RUN TestR691_OffsiteLoadRefusalsLeaveTheKeptFilesAlone/taken_of_another_drive
r691_kept_offsite_test.go:210: no off-site copy offered
=== RUN TestR691_OffsiteLoadRefusalsLeaveTheKeptFilesAlone/definition_is_not_the_data's
r691_kept_offsite_test.go:210: no off-site copy offered
=== RUN TestR691_OffsiteLoadRefusalsLeaveTheKeptFilesAlone/download_failed
r691_kept_offsite_test.go:210: no off-site copy offered
--- FAIL: TestR691_OffsiteLoadRefusalsLeaveTheKeptFilesAlone (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/backup 0.012s
=== RUN TestR691_InstallChoiceNamesTheOffsiteCopy
kept_install_test.go:147: en: use_offered=false use_desc="" use_off="There is no backup of the database, so the app cannot load the old files. You can look at the files under Kept data."
--- FAIL: TestR691_InstallChoiceNamesTheOffsiteCopy (0.02s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/api 0.024s
FAIL