Adds src/tools/test-dirty-fingerprint-distinguishability.sh, driving a real xce-build.sh scheduler cycle through the 4 required --version fingerprint states (clean/dirty-A/dirty-B-differs/reverted-A-matches). Uses a genuine isolated git worktree (git worktree add --detach at a unique mktemp -u path) to sidestep this actively-shared repo's ambient concurrent-editing noise -- all file edits confined strictly inside the isolated worktree, cleaned up via a trap registered before creation so it safely no-ops if creation never happened. Verified independently by review across two full live runs, including a deliberately sabotaged copy forcing edit-B to reproduce edit-A's content: the sabotaged run correctly failed with a clear message and exit 1, proving genuine discriminating power. git worktree list and the real repo's working tree confirmed byte-identical to baseline before and after every run. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| appimage | ||
| deploy-ha.sh | ||
| go_build | ||
| test-build-version-regression.sh | ||
| test-commit-durability.sh | ||
| test-dirty-fingerprint-distinguishability.sh | ||
| test-heartbeat-tolerance.sh | ||
| test-version-startup-consistency.sh | ||
| test-xceadmin-build-install-version.sh | ||
| xce-build.sh | ||