aboutsummaryrefslogtreecommitdiffstats
path: root/t/combination-symmetric-merge
diff options
context:
space:
mode:
Diffstat (limited to 't/combination-symmetric-merge')
-rwxr-xr-xt/combination-symmetric-merge26
1 files changed, 26 insertions, 0 deletions
diff --git a/t/combination-symmetric-merge b/t/combination-symmetric-merge
new file mode 100755
index 0000000..4d2c1a2
--- /dev/null
+++ b/t/combination-symmetric-merge
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} 1" \
+ old-1 \
+ "${PARENT} 1" \
+ old-1 \
+ "${TAIL} 1" \
+ new-1 \
+ "${END} 1" \
+ "${HEAD} 2" \
+ new-2 \
+ "${PARENT} 2" \
+ old-2 \
+ "${TAIL} 2" \
+ new-2 \
+ "${END} 2"
+
+printf '%s\n' > file.expected \
+ new-1 \
+ new-2
+
+normal --symmetric --merge --no-reduce file
+
+also_interactive my