fixup! more fixes to support container/root mount action
authorShane Jaroch <chown_tee@proton.me>
Sat, 17 Jan 2026 12:52:47 +0000 (07:52 -0500)
committerShane Jaroch <chown_tee@proton.me>
Sat, 17 Jan 2026 12:52:47 +0000 (07:52 -0500)
tests/system-test-safety-check.sh

index 94e87135ddf0498f2895a01b36a5481a89b23e0f..3f5587a6540e0c6ccdf9e7070f53b16f8cd32497 100755 (executable)
@@ -26,6 +26,10 @@ GIT="git -c advice.defaultBranchName=false"
 tempdir=$(mktemp -d)
 trap 'rm -rf "$tempdir"' EXIT
 
+# Isolate git config to prevent leaks from other tests
+export GIT_CONFIG_GLOBAL="${tempdir}/gitconfig"
+export GIT_CONFIG_SYSTEM="/dev/null"
+
 print_info "Setting up test environment..."
 
 # Create a bare repo (simulates remote)