aboutsummaryrefslogtreecommitdiffstats
path: root/test-logic.sh
AgeCommit message (Collapse)AuthorFilesLines
4 daysAdd collect_shadows dup detection + self-checkDanilo M.1-0/+22
Finds upstream SBo packages shadowed by a personal-tree twin, read-only, no removal. Personal package = subdir with matching <name>.SlackBuild; prune array excludes every SBO_PERSONAL_TREES path from the search so a personal package never lists itself. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
4 daysAdd rsync_excludes helper + self-checkDanilo M.1-0/+9
Emits one anchored --exclude=/<dir>/ per SBO_PERSONAL_TREES key, so a future rsync-based tree sync never deletes personal/pentesting clones that are not on the sync source. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24Add version_of .info reader + testDanilo M.1-0/+5
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24Add cache_path + cache_store + testsDanilo M.1-0/+15
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24Add cache_decision + testsDanilo M.1-0/+19
Implements cache_decision <cat> <prog> <version> which inspects $PKG_CACHE/<cat>/<prog>/ and returns "cached", "bump:OLD:NEW", or "new". Empty PKG_CACHE disables the cache. Tests in test-logic.sh cover all four outcomes and are driven pure (no VM needed). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22Initial commit: sbo-batch-testDanilo M.1-0/+111
Batch-test SlackBuilds against a clean Slackware 15.0 overlay chroot. Non-interactive, local-tree-only dependency resolution with topological sort, per-target disposable overlay, persistent per-package logs, and a color summary. Includes README.md, CLAUDE.md working notes, the reference overlay-chroot.sh, the original spec, and test-logic.sh (resolver + BLOCKED-BY-DEP self-check, 12 checks passing). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>