aboutsummaryrefslogtreecommitdiffstats
path: root/t/combination-2-select-tail
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/combination-2-select-tail22
1 files changed, 22 insertions, 0 deletions
diff --git a/t/combination-2-select-tail b/t/combination-2-select-tail
new file mode 100755
index 0000000..594e315
--- /dev/null
+++ b/t/combination-2-select-tail
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} ours" \
+ same \
+ ours \
+ "${PARENT} base" \
+ same \
+ base \
+ "${TAIL}" \
+ same \
+ theirs \
+ "${END} theirs"
+
+printf '%s\n' > file.expected \
+ same \
+ theirs
+
+normal --select-tail --select-tail --no-reduce file
+
+also_interactive t