This commit is contained in:
2025-04-05 06:20:19 +02:00
parent 3803a54529
commit d336153247
5 changed files with 391 additions and 65 deletions

View File

@@ -2,6 +2,9 @@
// Create a bash script to set up the test environment
let setup_script = `
# Configure git to suppress the default branch name warning
git config --global advice.initDefaultBranch false
rm -rf /tmp/code
mkdir -p /tmp/code
cd /tmp/code
@@ -17,7 +20,7 @@ git config --local user.email 'test@example.com'
git config --local user.name 'Test User'
git commit -m 'Initial commit'
cd myserver.com/myaccount/repored
cd /tmp/code/myserver.com/myaccount/repored
git init
echo 'Initial test file' > test2.txt
git add test2.txt
@@ -25,7 +28,7 @@ git config --local user.email 'test@example.com'
git config --local user.name 'Test User'
git commit -m 'Initial commit'
//now we have 2 repos
# now we have 2 repos
`;