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 | 5013346e23c257c5f2a587b21b431f63b64da70b (patch) | |
| tree | 3cb7d6b2a3381508e3c5c3d4ff99ff9e194eb17b /scripts | |
| parent | 2c60d749bcd3c689bd1380354db6eaca28bd282e (diff) | |
| download | archsetup-5013346e23c257c5f2a587b21b431f63b64da70b.tar.gz archsetup-5013346e23c257c5f2a587b21b431f63b64da70b.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 |
