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 | a61c6725e98bcc599f4dac2db4ffab616475f800 (patch) | |
| tree | 69e3161ce55c2a78fa7cbcb6942d64f385e950ba /scripts | |
| parent | 5f3ad76a3636cb7b0fe0a4eb3e29a7c2158279b0 (diff) | |
| download | archsetup-a61c6725e98bcc599f4dac2db4ffab616475f800.tar.gz archsetup-a61c6725e98bcc599f4dac2db4ffab616475f800.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')
| -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 |
