summaryrefslogtreecommitdiff
path: root/tests/claude-code
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-11-29 11:39:04 -0800
committerJesse Vincent <jesse@fsck.com>2025-12-17 16:44:50 -0800
commitcf728637924c664250ab1433b1373fcdf05f9df7 (patch)
tree89d7444afda212807b00be66e395bd184d4d96ad /tests/claude-code
parentbaa23b16bbda52ad7082f3bfb8d68c4d0a3840f4 (diff)
test: add --add-dir flag for temp directory access
Claude needs explicit permission to access the temp test directory. Added --add-dir flag to grant access to the test project.
Diffstat (limited to 'tests/claude-code')
-rwxr-xr-xtests/claude-code/test-subagent-driven-development-integration.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/claude-code/test-subagent-driven-development-integration.sh b/tests/claude-code/test-subagent-driven-development-integration.sh
index 55c2e76..95434a5 100755
--- a/tests/claude-code/test-subagent-driven-development-integration.sh
+++ b/tests/claude-code/test-subagent-driven-development-integration.sh
@@ -149,7 +149,7 @@ Begin now. Execute the plan."
echo "Running Claude (output will be shown below and saved to $OUTPUT_FILE)..."
echo "================================================================================"
-cd "$SCRIPT_DIR/../.." && timeout 1800 claude -p "$PROMPT" --allowed-tools=all 2>&1 | tee "$OUTPUT_FILE" || {
+cd "$SCRIPT_DIR/../.." && timeout 1800 claude -p "$PROMPT" --allowed-tools=all --add-dir "$TEST_PROJECT" 2>&1 | tee "$OUTPUT_FILE" || {
echo ""
echo "================================================================================"
echo "EXECUTION FAILED (exit code: $?)"