aboutsummaryrefslogtreecommitdiffstats
path: root/t/no-option-interactive-no-yes
blob: 7417667e58a7e88649e26ec9a792f6843f631405 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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