aboutsummaryrefslogtreecommitdiffstats
path: root/t/no-option-interactive-yes-no
blob: 2a3b0c47b4c1209d446937543b34415d472c2c85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e
. t/common.sh

interactive

printf '%s\n' > file \
	"${HEAD} ours" \
	ours \
	"${PARENT} base" \
	base \
	"${TAIL}" \
	theirs \
	"${END} theirs"

cp -- file file.expected

printf '%s' q > input

conflict --interactive --no-interactive --no-reduce file 8<input 9>output