summaryrefslogtreecommitdiff
path: root/tests/claude-code/test-subagent-driven-development-integration.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/claude-code/test-subagent-driven-development-integration.sh')
-rwxr-xr-xtests/claude-code/test-subagent-driven-development-integration.sh3
1 files changed, 2 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 b120da8..a4097a0 100755
--- a/tests/claude-code/test-subagent-driven-development-integration.sh
+++ b/tests/claude-code/test-subagent-driven-development-integration.sh
@@ -134,8 +134,9 @@ Begin now. Execute the plan.
EOF
# Note: We use a longer timeout since this is integration testing
+# Use --allowed-tools to enable tool usage in headless mode
PROMPT=$(cat "$TEST_PROJECT/prompt.txt")
-timeout 1800 claude -p "$PROMPT" > "$OUTPUT_FILE" 2>&1 || {
+timeout 1800 claude -p "$PROMPT" --allowed-tools=all > "$OUTPUT_FILE" 2>&1 || {
echo "EXECUTION FAILED"
cat "$OUTPUT_FILE"
exit 1