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