From a2ab1f87f78ae9dfcd433587105ce9388a154d2b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 29 Jan 2026 08:15:14 -0600 Subject: 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 --- scripts/testing/run-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /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 -- cgit v1.2.3