aboutsummaryrefslogtreecommitdiffstats
path: root/t/reduce-3-head
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/reduce-3-head38
1 files changed, 38 insertions, 0 deletions
diff --git a/t/reduce-3-head b/t/reduce-3-head
new file mode 100755
index 0000000..abc705c
--- /dev/null
+++ b/t/reduce-3-head
@@ -0,0 +1,38 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} 1" \
+ head-common-first \
+ head-common-second \
+ branch-1-first \
+ branch-1-second \
+ "${PARENT} 2" \
+ head-common-first \
+ head-common-second \
+ branch-2-first \
+ branch-2-second \
+ "${TAIL} 3" \
+ head-common-first \
+ head-common-second \
+ branch-3-first \
+ branch-3-second \
+ "${END} 3"
+
+printf '%s\n' > file.expected \
+ head-common-first \
+ head-common-second \
+ "${HEAD} 1" \
+ branch-1-first \
+ branch-1-second \
+ "${PARENT} 2" \
+ branch-2-first \
+ branch-2-second \
+ "${TAIL} 3" \
+ branch-3-first \
+ branch-3-second \
+ "${END} 3"
+
+conflict --reduce file
+
+also_interactive rr