aboutsummaryrefslogtreecommitdiffstats
path: root/t/select-tail-4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/select-tail-422
1 files changed, 22 insertions, 0 deletions
diff --git a/t/select-tail-4 b/t/select-tail-4
new file mode 100755
index 0000000..45111db
--- /dev/null
+++ b/t/select-tail-4
@@ -0,0 +1,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