diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-29 08:15:14 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-29 08:15:14 -0600 |
| commit | a2ab1f87f78ae9dfcd433587105ce9388a154d2b (patch) | |
| tree | 5617d813675b1dd1636cdfde82b1272d2376fddf /scripts/testing | |
| parent | 4dd6e3004f3a9829940fc858d6107b39296b282e (diff) | |
fix(test): use PROJECT_ROOT for git bundle creation
The git bundle command was running from current directory
instead of PROJECT_ROOT, causing it to bundle from wrong repo.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/testing')
| -rwxr-xr-x | scripts/testing/run-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/testing/run-test.sh b/scripts/testing/run-test.sh index c65961d..d1b4566 100755 --- a/scripts/testing/run-test.sh +++ b/scripts/testing/run-test.sh @@ -129,7 +129,7 @@ info "This simulates: git clone --depth 1 <repo> /home/cjennings/code/archsetup" # Create a temporary git bundle from current repo BUNDLE_FILE=$(mktemp) -git bundle create "$BUNDLE_FILE" HEAD >> "$LOGFILE" 2>&1 +git -C "$PROJECT_ROOT" bundle create "$BUNDLE_FILE" HEAD >> "$LOGFILE" 2>&1 # Transfer bundle and extract on VM vm_exec "$ROOT_PASSWORD" "rm -rf /tmp/archsetup-test && mkdir -p /tmp/archsetup-test" >> "$LOGFILE" 2>&1 |
