aboutsummaryrefslogtreecommitdiffstats
path: root/t/select-tail-4
blob: 45111db90a5b1b335c0be082f0ff8c6c00f0c34a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e
. t/common.sh

printf '%s\n' > file \
	"${HEAD} head" \
	head \
	"${PARENT} 2" \
	second \
	"${PARENT} 3" \
	third \
	"${PARENT} 4" \
	fourth \
	"${TAIL}" \
	tail \
	"${END} tail"

printf '%s\n' > file.expected \
	tail

normal --select-tail --no-reduce file

also_interactive t