aboutsummaryrefslogtreecommitdiffstats
path: root/t/no-option-interactive-no-yes
diff options
context:
space:
mode:
Diffstat (limited to 't/no-option-interactive-no-yes')
-rwxr-xr-xt/no-option-interactive-no-yes20
1 files changed, 20 insertions, 0 deletions
diff --git a/t/no-option-interactive-no-yes b/t/no-option-interactive-no-yes
new file mode 100755
index 0000000..7417667
--- /dev/null
+++ b/t/no-option-interactive-no-yes
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+. t/common.sh
+
+interactive
+
+printf '%s\n' > file \
+ "${HEAD} ours" \
+ ours \
+ "${PARENT} base" \
+ base \
+ "${TAIL}" \
+ theirs \
+ "${END} theirs"
+
+printf '%s\n' > file.expected \
+ ours
+
+printf '%s' h > input
+
+normal --no-interactive --interactive --no-reduce file 8<input 9>output