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 | 79ecbc3b2139898e6a5d2e8ff3a2917182dc3656 (patch) | |
| tree | 5617d813675b1dd1636cdfde82b1272d2376fddf /scripts/testing | |
| parent | cbe5ce878881f802b8fa440adbb75661d9bf7025 (diff) | |
| download | archsetup-79ecbc3b2139898e6a5d2e8ff3a2917182dc3656.tar.gz archsetup-79ecbc3b2139898e6a5d2e8ff3a2917182dc3656.zip | |
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 |
