blob: 5609f6873f940821a8d5bf344ac366a854c93d68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/sh -e
. t/common.sh
interactive
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"
printf '%s' q > input
conflict --no-interactive file 8<input 9>output
test ! -s output
|