summaryrefslogtreecommitdiffstats
path: root/test/integration/customCommandsComplex/setup.sh
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-01-15 09:58:58 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-15 10:14:19 +1100
commitf5b9ad8c002eb359959d41f4cd494007ca3e9bf3 (patch)
treeae510c3708a1ae3e78b27aa8d6278bc8e595d33a /test/integration/customCommandsComplex/setup.sh
parent8263d15b03dde25ba93f3e6ff538a4e0e245c59d (diff)
add complex custom command integration testv0.32.1
Diffstat (limited to 'test/integration/customCommandsComplex/setup.sh')
-rw-r--r--test/integration/customCommandsComplex/setup.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/integration/customCommandsComplex/setup.sh b/test/integration/customCommandsComplex/setup.sh
new file mode 100644
index 000000000..a37a2823b
--- /dev/null
+++ b/test/integration/customCommandsComplex/setup.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+cd $1
+
+git init
+
+git config user.email "CI@example.com"
+git config user.name "CI"
+
+echo test1 > myfile1
+git add .
+git commit -am "myfile1"
+echo test2 > myfile2
+git add .
+git commit -am "myfile2"
+echo test3 > myfile3
+git add .
+git commit -am "myfile3"
+echo test4 > myfile4
+git add .
+git commit -am "myfile4"