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