mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
test(reset): select a working Bash instead of an unusable WSL launcher (#671)
* test(reset): probe Bash variable expansion on Windows Use a bounded variable-expansion probe so a launcher that starts successfully but consumes $x is rejected. Rebase over #676 and keep its upstream-checkout guard alongside Bash discovery. Thanks to MadsLorentzen for diagnosing the launcher expansion failure and verifying the stronger probe. * changelog: place the #671 entry under [Unreleased] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Mads Lorentzen <madslorentzen_17@hotmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
5 files changed
+118
-3
No files matched your search
@@ -8,9 +8,14 @@ import unittest
|
||||
from pathlib import Path
|
||||
from tempfile import TemporaryDirectory
|
||||
|
||||
try:
|
||||
from tests._bash import find_bash
|
||||
except ImportError: # unittest discover -s tests imports modules top-level
|
||||
from _bash import find_bash
|
||||
|
||||
COMMAND = Path(__file__).resolve().parent.parent / ".claude/commands/reset.md"
|
||||
FOLDERS = ("cv", "linkedin", "diplomas", "references", "projects", "postings", "applications")
|
||||
BASH = shutil.which("bash")
|
||||
BASH = find_bash()
|
||||
|
||||
|
||||
def symlinks_available():
|
||||
|
||||
Reference in new issue
Block a user