aboutsummaryrefslogtreecommitdiffstats
path: root/t/no-option-select-head
diff options
context:
space:
mode:
Diffstat (limited to 't/no-option-select-head')
-rwxr-xr-xt/no-option-select-head28
1 files changed, 28 insertions, 0 deletions
diff --git a/t/no-option-select-head b/t/no-option-select-head
new file mode 100755
index 0000000..d882b14
--- /dev/null
+++ b/t/no-option-select-head
@@ -0,0 +1,28 @@
+#!/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 \
+ "${HEAD} ours" \
+ ours \
+ "${PARENT} base" \
+ base \
+ "${TAIL}" \
+ theirs \
+ "${END} theirs"
+
+conflict --no-select-head file
+
+also_interactive rr