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